From: Pali Rohár Date: Sun, 20 Jan 2013 02:50:44 +0000 (+0100) Subject: RX-51: Add leds lp5523 names from Maemo 5 2.6.28 kernel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e7bf5e3629f294652517a707a28ff8fe75d3564;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git RX-51: Add leds lp5523 names from Maemo 5 2.6.28 kernel Add leds lp5523 names from Maemo 5 2.6.28 kernel Signed-off-by: Pali Rohár Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index cf07e289b4ea..0f4012c18bc4 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -162,30 +162,39 @@ static struct tsl2563_platform_data rx51_tsl2563_platform_data = { #if defined(CONFIG_LEDS_LP5523) || defined(CONFIG_LEDS_LP5523_MODULE) static struct lp5523_led_config rx51_lp5523_led_config[] = { { + .name = "lp5523:kb1", .chan_nr = 0, .led_current = 50, }, { + .name = "lp5523:kb2", .chan_nr = 1, .led_current = 50, }, { + .name = "lp5523:kb3", .chan_nr = 2, .led_current = 50, }, { + .name = "lp5523:kb4", .chan_nr = 3, .led_current = 50, }, { + .name = "lp5523:b", .chan_nr = 4, .led_current = 50, }, { + .name = "lp5523:g", .chan_nr = 5, .led_current = 50, }, { + .name = "lp5523:r", .chan_nr = 6, .led_current = 50, }, { + .name = "lp5523:kb5", .chan_nr = 7, .led_current = 50, }, { + .name = "lp5523:kb6", .chan_nr = 8, .led_current = 50, }