From: Vasily Khoruzhick Date: Sun, 13 Mar 2011 15:19:21 +0000 (+0200) Subject: ARM: PXA: Z2: Add default triggers for LEDs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=54d5710058ebe34451f4ab1d73d86cd8214897b7;p=linux-beck.git 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 Acked-by: Marek Vasut --- 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[] = { .active_low = 1, }, { .name = "z2:green:charged", - .default_trigger = "none", + .default_trigger = "mmc0", .gpio = GPIO85_ZIPITZ2_LED_CHARGED, .active_low = 1, }, { .name = "z2:amber:charging", - .default_trigger = "none", + .default_trigger = "Z2-charging-or-full", .gpio = GPIO83_ZIPITZ2_LED_CHARGING, .active_low = 1, },