summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-01 07:29:31 +0800
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 21:01:41 +0400
commit71aa79a8c2537eb07cd26b5e4dc43274a9c10692 (patch)
tree8ddd73d6365a3f97b82e8ddbc693db881c669451
parentd555ab6bb321814853ca8a8d4e8e22d52e18a871 (diff)
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>
-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>