diff options
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 3aade1d8f410..56761974f282 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/spinlock.h> | 16 | #include <linux/spinlock.h> |
17 | #include <linux/rwsem.h> | 17 | #include <linux/rwsem.h> |
18 | #include <linux/timer.h> | 18 | #include <linux/timer.h> |
19 | #include <linux/workqueue.h> | ||
19 | 20 | ||
20 | struct device; | 21 | struct device; |
21 | /* | 22 | /* |
@@ -69,6 +70,9 @@ struct led_classdev { | |||
69 | struct timer_list blink_timer; | 70 | struct timer_list blink_timer; |
70 | int blink_brightness; | 71 | int blink_brightness; |
71 | 72 | ||
73 | struct work_struct set_brightness_work; | ||
74 | int delayed_set_value; | ||
75 | |||
72 | #ifdef CONFIG_LEDS_TRIGGERS | 76 | #ifdef CONFIG_LEDS_TRIGGERS |
73 | /* Protects the trigger data below */ | 77 | /* Protects the trigger data below */ |
74 | struct rw_semaphore trigger_lock; | 78 | struct rw_semaphore trigger_lock; |