aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max8903_charger.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-03 15:28:29 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:56 -0400
commit7e6d62db5efecded2dd4606ff2ff3726b9c52505 (patch)
tree141e1c246bfaecddafc3a003dda5a17531b12b6f /drivers/power/max8903_charger.c
parentdrivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required (diff)
downloadlinux-dev-7e6d62db5efecded2dd4606ff2ff3726b9c52505.tar.xz
linux-dev-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>