From 7e6c647ed9994428643e7e740b2d8241ee13da5c Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 6 Feb 2013 10:14:58 +0100 Subject: [PATCH] da9030_battery: Include notifier.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit randconfig complains about: drivers/power/da9030_battery.c:113: error: field ‘nb’ has incomplete type because there is no direct include for notifier.h which defines struct notifier_block. Signed-off-by: Michal Hocko Signed-off-by: Anton Vorontsov --- drivers/power/da9030_battery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c index 94762e6..e8c5a39 100644 --- a/drivers/power/da9030_battery.c +++ b/drivers/power/da9030_battery.c @@ -22,6 +22,7 @@ #include #include +#include #define DA9030_FAULT_LOG 0x0a #define DA9030_FAULT_LOG_OVER_TEMP (1 << 7) -- 2.7.4