aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2013-02-06 10:14:58 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-02-08 17:28:35 -0800
commit7e6c647ed9994428643e7e740b2d8241ee13da5c (patch)
tree74e32d9358ba0b548f2444c408ad2a42c4e211fe /drivers/power
parent5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (diff)
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')
-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 94762e67e22..e8c5a391a49 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)