summaryrefslogtreecommitdiffstats
path: root/drivers/power/max8903_charger.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 21:28:29 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:56 +0100
commit7e6d62db5efecded2dd4606ff2ff3726b9c52505 (patch)
tree141e1c246bfaecddafc3a003dda5a17531b12b6f /drivers/power/max8903_charger.c
parentdrivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required (diff)
downloadlinux-7e6d62db5efecded2dd4606ff2ff3726b9c52505.tar.xz
linux-7e6d62db5efecded2dd4606ff2ff3726b9c52505.zip
drivers/power: Add module.h to the actual modules in drivers/power
The module.h header is no longer going to be implicitly present everywhere. So real modular users need to call out its use explicitly in advance. [v2: add new users reported by Randy Dunlap <rdunlap@xenotime.net>] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/power/max8903_charger.c')
-rw-r--r--drivers/power/max8903_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c
index a9b0209a2f55..2595145f3bff 100644
--- a/drivers/power/max8903_charger.c
+++ b/drivers/power/max8903_charger.c
@@ -22,6 +22,7 @@
#include <linux/gpio.h>
#include <linux/interrupt.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/power_supply.h>
#include <linux/platform_device.h>