]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/power: Add module.h to the actual modules in drivers/power
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 3 Jul 2011 19:28:29 +0000 (15:28 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 03:43:51 +0000 (23:43 -0400)
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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/power/max17042_battery.c
drivers/power/max8903_charger.c

index c5c8805156cbebe4ebc734052c175af4eb45aa37..0814aff8d26ff6e55c397d62859c8c92baa20a3d 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/mod_devicetable.h>
 #include <linux/power_supply.h>
 #include <linux/power/max17042_battery.h>
+#include <linux/module.h>
 
 enum max17042_register {
        MAX17042_STATUS         = 0x00,
index 33ff0e37809e43c29e848da0eac1e72ebf27d406..d26e8281217b25dba2d9fa27cc787ea7e817c6f4 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/power_supply.h>
 #include <linux/platform_device.h>
 #include <linux/power/max8903_charger.h>
+#include <linux/module.h>
 
 struct max8903_data {
        struct max8903_pdata *pdata;