summaryrefslogtreecommitdiff
path: root/include/linux/leds-lp5523.h
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-22 07:32:29 (GMT)
committerBryan Wu <bryan.wu@canonical.com>2012-09-11 10:32:41 (GMT)
commit94b43b677104e50b9f8dd75aacb3c69e16089a68 (patch)
tree991fa64dbabaa3eee5c0dd900a4bbe5ca0c0e3aa /include/linux/leds-lp5523.h
parent127aedc8ecae2628511533ddeb239e99e4bed5e8 (diff)
downloadlinux-fsl-qoriq-94b43b677104e50b9f8dd75aacb3c69e16089a68.tar.xz
leds-lp5523: add channel name in the platform data
The name of each led channel is configurable. If the name is NULL, just use the channel id for making the channel name Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'include/linux/leds-lp5523.h')
-rw-r--r--include/linux/leds-lp5523.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/leds-lp5523.h b/include/linux/leds-lp5523.h
index 2694289..727877f 100644
--- a/include/linux/leds-lp5523.h
+++ b/include/linux/leds-lp5523.h
@@ -26,6 +26,7 @@
/* See Documentation/leds/leds-lp5523.txt */
struct lp5523_led_config {
+ const char *name;
u8 chan_nr;
u8 led_current; /* mA x10, 0 if led is not connected */
u8 max_current;