summaryrefslogtreecommitdiff
path: root/drivers/power/max17042_battery.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/max17042_battery.c
parent2c8d667a3102ad0ed3f104d41277c55873297091 (diff)
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/max17042_battery.c')
-rw-r--r--drivers/power/max17042_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/max17042_battery.c b/drivers/power/max17042_battery.c
index 98bfab35b8e9..9f0183c73076 100644
--- a/drivers/power/max17042_battery.c
+++ b/drivers/power/max17042_battery.c
@@ -23,6 +23,7 @@
*/
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>