aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-07-29 21:11:43 -0700
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-08-19 20:56:58 +0400
commitd555ab6bb321814853ca8a8d4e8e22d52e18a871 (patch)
tree10ef21553591629f6e5859b4cb3ee9435b0fd471 /drivers/power
parent93ee7a9340d64f20295aacc3fb6a22b759323280 (diff)
downloadkernel_goldelico_gta04-d555ab6bb321814853ca8a8d4e8e22d52e18a871.zip
kernel_goldelico_gta04-d555ab6bb321814853ca8a8d4e8e22d52e18a871.tar.gz
kernel_goldelico_gta04-d555ab6bb321814853ca8a8d4e8e22d52e18a871.tar.bz2
max8998_charger: Needs module.h
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/max8998_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c
index cc21fa2..ef8efad 100644
--- 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>