diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index b5d8968e29a7..f7d342ccbebf 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -515,6 +515,10 @@ u8 at91_leds_timer; | |||
515 | 515 | ||
516 | void __init at91_init_leds(u8 cpu_led, u8 timer_led) | 516 | void __init at91_init_leds(u8 cpu_led, u8 timer_led) |
517 | { | 517 | { |
518 | /* Enable GPIO to access the LEDs */ | ||
519 | at91_set_gpio_output(cpu_led, 1); | ||
520 | at91_set_gpio_output(timer_led, 1); | ||
521 | |||
518 | at91_leds_cpu = cpu_led; | 522 | at91_leds_cpu = cpu_led; |
519 | at91_leds_timer = timer_led; | 523 | at91_leds_timer = timer_led; |
520 | } | 524 | } |