From: David Brownell Date: Fri, 29 Aug 2008 17:03:16 +0000 (-0700) Subject: omap3 beagle: led triggers X-Git-Tag: v2.6.27-omap1~260 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=830588a772757cc522893634e1a88773bacaf1b0;p=linux-2.6-omap-h63xx.git omap3 beagle: led triggers Assign default roles to two of Beagle's programmable LEDs: - usr0 has a heartbeat to show basic activity - usr1 shows MMC activity A third led is controlled by the TWL4030 LED_B signal, but the TWL driver doesn't yet support leds... Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 85119ce5aa1..cf452bbb53b 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -139,15 +139,15 @@ static struct omap_lcd_config omap3_beagle_lcd_config __initdata = { .ctrl_name = "internal", }; -struct gpio_led gpio_leds[] = { +static struct gpio_led gpio_leds[] = { { .name = "beagleboard::usr0", - .default_trigger = "none", + .default_trigger = "heartbeat", .gpio = 150, }, { .name = "beagleboard::usr1", - .default_trigger = "none", + .default_trigger = "mmc0", .gpio = 149, }, };