summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-06-11 15:17:48 +0200
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-23 21:20:35 +0200
commit92722b1bb1ebcba767f9c6ee499992ee33367268 (patch)
tree5026039420b5722c5489ccf48eef6938b3acae78
parentleds: alix-leds2 fixed for Award BIOS (diff)
downloadlinux-92722b1bb1ebcba767f9c6ee499992ee33367268.tar.xz
linux-92722b1bb1ebcba767f9c6ee499992ee33367268.zip
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>
-rw-r--r--include/linux/leds.h4
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 {
/* Get LED brightness level */
enum led_brightness (*brightness_get)(struct led_classdev *led_cdev);
- /* Activate hardware accelerated blink */
+ /* Activate hardware accelerated blink, delays are in
+ * miliseconds and if none is provided then a sensible default
+ * should be chosen. */
int (*blink_set)(struct led_classdev *led_cdev,
unsigned long *delay_on,
unsigned long *delay_off);