diff options
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r-- | include/linux/power_supply.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 204c18dfdc9..2287c321413 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define __LINUX_POWER_SUPPLY_H__ | 14 | #define __LINUX_POWER_SUPPLY_H__ |
15 | 15 | ||
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/wakelock.h> | ||
17 | #include <linux/workqueue.h> | 18 | #include <linux/workqueue.h> |
18 | #include <linux/leds.h> | 19 | #include <linux/leds.h> |
19 | 20 | ||
@@ -163,6 +164,9 @@ struct power_supply { | |||
163 | /* private */ | 164 | /* private */ |
164 | struct device *dev; | 165 | struct device *dev; |
165 | struct work_struct changed_work; | 166 | struct work_struct changed_work; |
167 | spinlock_t changed_lock; | ||
168 | bool changed; | ||
169 | struct wake_lock work_wake_lock; | ||
166 | 170 | ||
167 | #ifdef CONFIG_LEDS_TRIGGERS | 171 | #ifdef CONFIG_LEDS_TRIGGERS |
168 | struct led_trigger *charging_full_trig; | 172 | struct led_trigger *charging_full_trig; |