diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-03-13 11:19:21 -0400 |
---|---|---|
committer | Marek Vasut <marek.vasut@gmail.com> | 2011-03-16 09:56:03 -0400 |
commit | 54d5710058ebe34451f4ab1d73d86cd8214897b7 (patch) | |
tree | cbcfd81ec37211f6c9cf9df5ca75d29baf17a44f /arch/arm/mach-pxa | |
parent | 034e17563b90fa20342b78a2faac9cba3a1c4a38 (diff) |
ARM: PXA: Z2: Add default triggers for LEDs
So user can see if there's any mmc activity and if device's
charging.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/z2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c index 9b6ab0778808..3ab73f3079a0 100644 --- a/arch/arm/mach-pxa/z2.c +++ b/arch/arm/mach-pxa/z2.c | |||
@@ -309,12 +309,12 @@ struct gpio_led z2_gpio_leds[] = { | |||
309 | .active_low = 1, | 309 | .active_low = 1, |
310 | }, { | 310 | }, { |
311 | .name = "z2:green:charged", | 311 | .name = "z2:green:charged", |
312 | .default_trigger = "none", | 312 | .default_trigger = "mmc0", |
313 | .gpio = GPIO85_ZIPITZ2_LED_CHARGED, | 313 | .gpio = GPIO85_ZIPITZ2_LED_CHARGED, |
314 | .active_low = 1, | 314 | .active_low = 1, |
315 | }, { | 315 | }, { |
316 | .name = "z2:amber:charging", | 316 | .name = "z2:amber:charging", |
317 | .default_trigger = "none", | 317 | .default_trigger = "Z2-charging-or-full", |
318 | .gpio = GPIO83_ZIPITZ2_LED_CHARGING, | 318 | .gpio = GPIO83_ZIPITZ2_LED_CHARGING, |
319 | .active_low = 1, | 319 | .active_low = 1, |
320 | }, | 320 | }, |