aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-31 19:29:31 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 13: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 7106b49b26e..ffc5033ea9c 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -20,6 +20,7 @@
20 */ 20 */
21 21
22#include <linux/err.h> 22#include <linux/err.h>
23#include <linux/module.h>
23#include <linux/slab.h> 24#include <linux/slab.h>
24#include <linux/platform_device.h> 25#include <linux/platform_device.h>
25#include <linux/power_supply.h> 26#include <linux/power_supply.h>