projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ee7a9
)
max8998_charger: Needs module.h
author
Randy Dunlap
<rdunlap@xenotime.net>
Sat, 30 Jul 2011 04:11:43 +0000
(21:11 -0700)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Fri, 19 Aug 2011 16:56:58 +0000
(20:56 +0400)
power/max8998_charger.c uses interfaces from linux/module.h,
so it should include that file. This fixes build errors.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max8998_charger.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/max8998_charger.c
b/drivers/power/max8998_charger.c
index cc21fa2120be241e18f49de15805280fde97d077..ef8efadb58cb1778306e3b977dffc2b585b5c42e 100644
(file)
--- a/
drivers/power/max8998_charger.c
+++ b/
drivers/power/max8998_charger.c
@@
-20,6
+20,7
@@
*/
#include <linux/err.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>