Skip to content

Commit

Permalink
da9030_battery: Include notifier.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Hocko authored and Anton Vorontsov committed Feb 9, 2013
1 parent 5dc3443 commit 7e6c647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/da9030_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e6c647

Please sign in to comment.