summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-01 01:29:31 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 19:01:41 +0200
commit71aa79a8c2537eb07cd26b5e4dc43274a9c10692 (patch)
tree8ddd73d6365a3f97b82e8ddbc693db881c669451 /drivers
parentmax8998_charger: Needs module.h (diff)
downloadlinux-71aa79a8c2537eb07cd26b5e4dc43274a9c10692.tar.xz
linux-71aa79a8c2537eb07cd26b5e4dc43274a9c10692.zip
max8997_charger: Needs module.h
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/max8997_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 7106b49b26e4..ffc5033ea9c9 100644
--- 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>