summaryrefslogtreecommitdiffstats
path: root/include/linux/leds.h
diff options
context:
space:
mode:
authorRichard Purdie2009-06-22 15:54:13 +0200
committerRichard Purdie2009-06-23 21:21:39 +0200
commita1dd8c617217322614f0465ae347895c4b58e1ab (patch)
treed0c130f00ea7f4b8669156cdec0d656e6f75fff3 /include/linux/leds.h
parentleds: Add options to have GPIO LEDs start on or keep their state (diff)
downloadkernel-qcow2-linux-a1dd8c617217322614f0465ae347895c4b58e1ab.tar.gz
kernel-qcow2-linux-a1dd8c617217322614f0465ae347895c4b58e1ab.tar.xz
kernel-qcow2-linux-a1dd8c617217322614f0465ae347895c4b58e1ab.zip
leds: Futher document blink_set
Futher document blink_set function pointer Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r--include/linux/leds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index 62af62915cf7..d8bf9665e70c 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -47,7 +47,8 @@ struct led_classdev {
/* Activate hardware accelerated blink, delays are in
* miliseconds and if none is provided then a sensible default
- * should be chosen. */
+ * should be chosen. The call can adjust the timings if it can't
+ * match the values specified exactly. */
int (*blink_set)(struct led_classdev *led_cdev,
unsigned long *delay_on,
unsigned long *delay_off);