diff options
author | Michal Hocko <mhocko@suse.cz> | 2013-02-06 10:14:58 +0100 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-02-08 17:28:35 -0800 |
commit | 7e6c647ed9994428643e7e740b2d8241ee13da5c (patch) | |
tree | 74e32d9358ba0b548f2444c408ad2a42c4e211fe /drivers | |
parent | 5dc3443eb0d9d3688a6e5a3b4ebb9000d81ff6ba (diff) | |
download | op-kernel-dev-7e6c647ed9994428643e7e740b2d8241ee13da5c.zip op-kernel-dev-7e6c647ed9994428643e7e740b2d8241ee13da5c.tar.gz |
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')
-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 94762e6..e8c5a39 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) |