da9030_battery: Include notifier.h
authorMichal Hocko <mhocko@suse.cz>
Wed, 6 Feb 2013 09:14:58 +0000 (10:14 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Sat, 9 Feb 2013 01:28:35 +0000 (17:28 -0800)
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 <mhocko@suse.cz>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/da9030_battery.c

index 94762e6..e8c5a39 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
+#include <linux/notifier.h>
 
 #define DA9030_FAULT_LOG               0x0a
 #define DA9030_FAULT_LOG_OVER_TEMP     (1 << 7)