diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2011-07-30 06:11:43 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-08-19 18:56:58 +0200 |
commit | d555ab6bb321814853ca8a8d4e8e22d52e18a871 (patch) | |
tree | 10ef21553591629f6e5859b4cb3ee9435b0fd471 /drivers/power | |
parent | Linux 3.1-rc2 (diff) | |
download | linux-d555ab6bb321814853ca8a8d4e8e22d52e18a871.tar.xz linux-d555ab6bb321814853ca8a8d4e8e22d52e18a871.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index cc21fa2120be..ef8efadb58cb 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> |