summaryrefslogtreecommitdiffstats
path: root/drivers/power/da9030_battery.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2013-02-06 10:14:58 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-02-09 02:28:35 +0100
commit7e6c647ed9994428643e7e740b2d8241ee13da5c (patch)
tree74e32d9358ba0b548f2444c408ad2a42c4e211fe /drivers/power/da9030_battery.c
parentbq27x00_battery: Fix reporting battery temperature (diff)
downloadlinux-7e6c647ed9994428643e7e740b2d8241ee13da5c.tar.xz
linux-7e6c647ed9994428643e7e740b2d8241ee13da5c.zip
da9030_battery: Include notifier.h
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>
Diffstat (limited to 'drivers/power/da9030_battery.c')
-rw-r--r--drivers/power/da9030_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c
index 94762e67e22b..e8c5a391a498 100644
--- a/drivers/power/da9030_battery.c
+++ b/drivers/power/da9030_battery.c
@@ -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)