diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/power_supply_leds.c | 2 | ||||
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/power/power_supply_leds.c b/drivers/power/power_supply_leds.c index 7f8f3590b02e..80ca28840b1a 100644 --- a/drivers/power/power_supply_leds.c +++ b/drivers/power/power_supply_leds.c | |||
@@ -12,6 +12,8 @@ | |||
12 | 12 | ||
13 | #include <linux/power_supply.h> | 13 | #include <linux/power_supply.h> |
14 | 14 | ||
15 | #include "power_supply.h" | ||
16 | |||
15 | /* Battery specific LEDs triggers. */ | 17 | /* Battery specific LEDs triggers. */ |
16 | 18 | ||
17 | static void power_supply_update_bat_leds(struct power_supply *psy) | 19 | static void power_supply_update_bat_leds(struct power_supply *psy) |
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index 249f61bae639..e8ad1fd0f09f 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <linux/ctype.h> | 14 | #include <linux/ctype.h> |
15 | #include <linux/power_supply.h> | 15 | #include <linux/power_supply.h> |
16 | 16 | ||
17 | #include "power_supply.h" | ||
18 | |||
17 | /* | 19 | /* |
18 | * This is because the name "current" breaks the device attr macro. | 20 | * This is because the name "current" breaks the device attr macro. |
19 | * The "current" word resolves to "(get_current())" so instead of | 21 | * The "current" word resolves to "(get_current())" so instead of |