diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-11 09:17:48 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-23 15:20:35 -0400 |
commit | 92722b1bb1ebcba767f9c6ee499992ee33367268 (patch) | |
tree | 5026039420b5722c5489ccf48eef6938b3acae78 /include/linux | |
parent | 2216c6e83ccbc9d34f541621ff23f510cd8a256f (diff) |
leds: Further document parameters for blink_set()
The documentation for the parameters of blink_set() was a bit hard
to find so put some where I'd expected to find it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/leds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 376fe07732ea..c7f0b148df06 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -45,7 +45,9 @@ struct led_classdev { | |||
45 | /* Get LED brightness level */ | 45 | /* Get LED brightness level */ |
46 | enum led_brightness (*brightness_get)(struct led_classdev *led_cdev); | 46 | enum led_brightness (*brightness_get)(struct led_classdev *led_cdev); |
47 | 47 | ||
48 | /* Activate hardware accelerated blink */ | 48 | /* Activate hardware accelerated blink, delays are in |
49 | * miliseconds and if none is provided then a sensible default | ||
50 | * should be chosen. */ | ||
49 | int (*blink_set)(struct led_classdev *led_cdev, | 51 | int (*blink_set)(struct led_classdev *led_cdev, |
50 | unsigned long *delay_on, | 52 | unsigned long *delay_on, |
51 | unsigned long *delay_off); | 53 | unsigned long *delay_off); |