summaryrefslogtreecommitdiffstats
path: root/drivers/power/max8997_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/max8997_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/max8997_charger.c')
-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 ffc5033ea9c9..a23317d75c5a 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <linux/module.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/slab.h>