From 96facd23e45e6d5020be135c8ab392ba9e044fa4 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Mon, 7 May 2012 11:26:37 +0300 Subject: [PATCH] smb347-charger: Include missing Without the include we get build errors like: drivers/power/smb347-charger.c: In function 'smb347_probe': drivers/power/smb347-charger.c:1039:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] drivers/power/smb347-charger.c:1040:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration] Reported-by: Stephen Rothwell Signed-off-by: Mika Westerberg Signed-off-by: Anton Vorontsov --- drivers/power/smb347-charger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/smb347-charger.c b/drivers/power/smb347-charger.c index 09d19d241eed..f8eedd8a676f 100644 --- a/drivers/power/smb347-charger.c +++ b/drivers/power/smb347-charger.c @@ -11,6 +11,7 @@ * published by the Free Software Foundation. */ +#include #include #include #include