Skip to content

Commit

Permalink
ARM: PXA: Z2: Add default triggers for LEDs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Khoruzhick authored and Marek Vasut committed Mar 16, 2011
1 parent 034e175 commit 54d5710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-pxa/z2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 54d5710

Please sign in to comment.