]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-at91/at91sam9260_devices.c
[ARM] 4150/1: AT91: LED update
[linux-2.6-omap-h63xx.git] / arch / arm / mach-at91 / at91sam9260_devices.c
index b5d8968e29a71f50e665d83826034f262fab5802..f7d342ccbebf823db392f75759cd6417b5a782d5 100644 (file)
@@ -515,6 +515,10 @@ u8 at91_leds_timer;
 
 void __init at91_init_leds(u8 cpu_led, u8 timer_led)
 {
+       /* Enable GPIO to access the LEDs */
+       at91_set_gpio_output(cpu_led, 1);
+       at91_set_gpio_output(timer_led, 1);
+
        at91_leds_cpu   = cpu_led;
        at91_leds_timer = timer_led;
 }