提交 7e6c647e 编写于 作者: M Michal Hocko 提交者: Anton Vorontsov

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: NMichal Hocko <mhocko@suse.cz>
Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
上级 5dc3443e
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/notifier.h>
#define DA9030_FAULT_LOG 0x0a #define DA9030_FAULT_LOG 0x0a
#define DA9030_FAULT_LOG_OVER_TEMP (1 << 7) #define DA9030_FAULT_LOG_OVER_TEMP (1 << 7)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册