Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+4
+1
drivers/power/max17042_battery.c
··· 23 23 */ 24 24 25 25 #include <linux/init.h> 26 + #include <linux/module.h> 26 27 #include <linux/slab.h> 27 28 #include <linux/i2c.h> 28 29 #include <linux/mod_devicetable.h>
+1
drivers/power/max8903_charger.c
··· 22 22 23 23 #include <linux/gpio.h> 24 24 #include <linux/interrupt.h> 25 + #include <linux/module.h> 25 26 #include <linux/slab.h> 26 27 #include <linux/power_supply.h> 27 28 #include <linux/platform_device.h>
+1
drivers/power/max8997_charger.c
··· 19 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 20 */ 21 21 22 + #include <linux/module.h> 22 23 #include <linux/err.h> 23 24 #include <linux/module.h> 24 25 #include <linux/slab.h>
+1
drivers/power/max8998_charger.c
··· 19 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 20 */ 21 21 22 + #include <linux/module.h> 22 23 #include <linux/err.h> 23 24 #include <linux/module.h> 24 25 #include <linux/slab.h>