diff options
author | Kim, Milo | 2012-08-22 15:32:29 +0800 |
---|---|---|
committer | Bryan Wu | 2012-09-11 18:32:41 +0800 |
commit | 94b43b677104e50b9f8dd75aacb3c69e16089a68 (patch) | |
tree | 991fa64dbabaa3eee5c0dd900a4bbe5ca0c0e3aa /include/linux/leds-lp5523.h | |
parent | 127aedc8ecae2628511533ddeb239e99e4bed5e8 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/leds-lp5523.h b/include/linux/leds-lp5523.h index 2694289babd0..727877fb406d 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; |