Skip to content

Commit 7e6d62d

Browse files
author
Paul Gortmaker
committed
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>
1 parent 2c8d667 commit 7e6d62d

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/power/max17042_battery.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*/
2424

2525
#include <linux/init.h>
26+
#include <linux/module.h>
2627
#include <linux/slab.h>
2728
#include <linux/i2c.h>
2829
#include <linux/mod_devicetable.h>

‎drivers/power/max8903_charger.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include <linux/gpio.h>
2424
#include <linux/interrupt.h>
25+
#include <linux/module.h>
2526
#include <linux/slab.h>
2627
#include <linux/power_supply.h>
2728
#include <linux/platform_device.h>

‎drivers/power/max8997_charger.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2020
*/
2121

22+
#include <linux/module.h>
2223
#include <linux/err.h>
2324
#include <linux/module.h>
2425
#include <linux/slab.h>

‎drivers/power/max8998_charger.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2020
*/
2121

22+
#include <linux/module.h>
2223
#include <linux/err.h>
2324
#include <linux/module.h>
2425
#include <linux/slab.h>

0 commit comments

Comments
 (0)