]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
osk5912: LED trigger update for CF
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 7 Nov 2008 23:24:12 +0000 (15:24 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 23:54:44 +0000 (15:54 -0800)
Help OSK work better with root-on-CF, by having one of the LEDs
use the "ide-disk" trigger (to kick in during CF I/O).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-osk.c

index 9312de198b6ceaf32e927b7675e8dffd0bfac7c1..41e40d624d144aa907a68f65fda050befbcb2b4e 100644 (file)
@@ -188,7 +188,8 @@ static struct gpio_led tps_leds[] = {
        /* NOTE:  D9 and D2 have hardware blink support.
         * Also, D9 requires non-battery power.
         */
-       { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9", },
+       { .gpio = OSK_TPS_GPIO_LED_D9, .name = "d9",
+                       .default_trigger = "ide-disk", },
        { .gpio = OSK_TPS_GPIO_LED_D2, .name = "d2", },
        { .gpio = OSK_TPS_GPIO_LED_D3, .name = "d3", .active_low = 1,
                        .default_trigger = "heartbeat", },