diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-04-24 18:49:30 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-04-24 18:49:30 -0400 |
commit | 2e214e0fa21465cf2749ca7d5a072cf8591f3213 (patch) | |
tree | 8585e3e5b131512f3a3b65c13372630950c21e60 /include | |
parent | 3b2e46f8c4a5f2d7856c490ab5f0c46b65e2cb99 (diff) |
leds: Document the context brightness_set needs
Make sure there is no confusion about the contexts brightness_set
can be called under by documenting it.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/leds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index ff1570f97045..519df72e939d 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -35,6 +35,7 @@ struct led_classdev { | |||
35 | #define LED_SUSPENDED (1 << 0) | 35 | #define LED_SUSPENDED (1 << 0) |
36 | 36 | ||
37 | /* Set LED brightness level */ | 37 | /* Set LED brightness level */ |
38 | /* Must not sleep, use a workqueue if needed */ | ||
38 | void (*brightness_set)(struct led_classdev *led_cdev, | 39 | void (*brightness_set)(struct led_classdev *led_cdev, |
39 | enum led_brightness brightness); | 40 | enum led_brightness brightness); |
40 | /* Get LED brightness level */ | 41 | /* Get LED brightness level */ |