projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d555ab6
)
max8997_charger: Needs module.h
author
Axel Lin
<axel.lin@gmail.com>
Sun, 31 Jul 2011 23:29:31 +0000
(07:29 +0800)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Fri, 19 Aug 2011 17:01:41 +0000
(21:01 +0400)
power/max8997_charger.c uses interfaces from linux/module.h,
so it should include that file. This fixes build errors.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max8997_charger.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/max8997_charger.c
b/drivers/power/max8997_charger.c
index 7106b49b26e492dbea1bbdd888e46c95844ad0ed..ffc5033ea9c92fcbad8957cad81674a376cb1909 100644
(file)
--- a/
drivers/power/max8997_charger.c
+++ b/
drivers/power/max8997_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>