diff options
author | Michal Hocko <mhocko@suse.cz> | 2013-02-06 13:14:58 +0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-02-09 05:28:35 +0400 |
commit | 7e6c647ed9994428643e7e740b2d8241ee13da5c (patch) | |
tree | 74e32d9358ba0b548f2444c408ad2a42c4e211fe /drivers/power/da9030_battery.c | |
parent | 5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (diff) | |
download | linux-7e6c647ed9994428643e7e740b2d8241ee13da5c.tar.xz |
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.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 @@ #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) |