diff options
author | Michal Hocko <mhocko@suse.cz> | 2013-02-06 04:14:58 -0500 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-02-08 20:28:35 -0500 |
commit | 7e6c647ed9994428643e7e740b2d8241ee13da5c (patch) | |
tree | 74e32d9358ba0b548f2444c408ad2a42c4e211fe | |
parent | 5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (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>
-rw-r--r-- | drivers/power/da9030_battery.c | 1 |
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 @@ | |||
22 | 22 | ||
23 | #include <linux/debugfs.h> | 23 | #include <linux/debugfs.h> |
24 | #include <linux/seq_file.h> | 24 | #include <linux/seq_file.h> |
25 | #include <linux/notifier.h> | ||
25 | 26 | ||
26 | #define DA9030_FAULT_LOG 0x0a | 27 | #define DA9030_FAULT_LOG 0x0a |
27 | #define DA9030_FAULT_LOG_OVER_TEMP (1 << 7) | 28 | #define DA9030_FAULT_LOG_OVER_TEMP (1 << 7) |