aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9261_devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261_devices.c')
-rw-r--r--arch/arm/mach-at91/at91sam9261_devices.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
index 467a6431d71a..57d7e3bd05db 100644
--- a/arch/arm/mach-at91/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/at91sam9261_devices.c
@@ -597,28 +597,6 @@ static void __init at91_add_device_watchdog(void) {}
597 597
598 598
599/* -------------------------------------------------------------------- 599/* --------------------------------------------------------------------
600 * LEDs
601 * -------------------------------------------------------------------- */
602
603#if defined(CONFIG_LEDS)
604u8 at91_leds_cpu;
605u8 at91_leds_timer;
606
607void __init at91_init_leds(u8 cpu_led, u8 timer_led)
608{
609 /* Enable GPIO to access the LEDs */
610 at91_set_gpio_output(cpu_led, 1);
611 at91_set_gpio_output(timer_led, 1);
612
613 at91_leds_cpu = cpu_led;
614 at91_leds_timer = timer_led;
615}
616#else
617void __init at91_init_leds(u8 cpu_led, u8 timer_led) {}
618#endif
619
620
621/* --------------------------------------------------------------------
622 * SSC -- Synchronous Serial Controller 600 * SSC -- Synchronous Serial Controller
623 * -------------------------------------------------------------------- */ 601 * -------------------------------------------------------------------- */
624 602