projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc3443
)
da9030_battery: Include notifier.h
author
Michal Hocko
<mhocko@suse.cz>
Wed, 6 Feb 2013 09:14:58 +0000
(10:14 +0100)
committer
Anton Vorontsov
<anton@enomsg.org>
Sat, 9 Feb 2013 01:28:35 +0000
(17:28 -0800)
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>
drivers/power/da9030_battery.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/da9030_battery.c
b/drivers/power/da9030_battery.c
index 94762e67e22b69d50c28a587586a83e9266323f9..e8c5a391a4987b650f4699b516d6371456b06bda 100644
(file)
--- 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)