summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-csb337.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-05 14:27:57 +0800
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-17 11:06:32 +0200
commit7eb1dbb3beb982a7d72514abff96ebc08a22e5cd (patch)
treef94d5c4c9e4f4b3acfbde20cf713a56af52fff80 /arch/arm/mach-at91/board-csb337.c
parent71b149b3f740501c2d59c80de5b10f5e45051099 (diff)
downloadblackbird-op-linux-7eb1dbb3beb982a7d72514abff96ebc08a22e5cd.tar.gz
blackbird-op-linux-7eb1dbb3beb982a7d72514abff96ebc08a22e5cd.zip
ARM: at91: move at91_init_leds to board init
This will also allow to finally move the gpio driver to platform device/driver. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-csb337.c')
-rw-r--r--arch/arm/mach-at91/board-csb337.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c
index ad7f9f028976..cd813361cd26 100644
--- a/arch/arm/mach-at91/board-csb337.c
+++ b/arch/arm/mach-at91/board-csb337.c
@@ -47,9 +47,6 @@ static void __init csb337_init_early(void)
{
/* Initialize processor: 3.6864 MHz crystal */
at91_initialize(3686400);
-
- /* Setup the LEDs */
- at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
}
static struct macb_platform_data __initdata csb337_eth_data = {
@@ -222,6 +219,8 @@ static struct gpio_led csb_leds[] = {
static void __init csb337_board_init(void)
{
+ /* Setup the LEDs */
+ at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
/* Serial */
/* DBGU on ttyS0 */
at91_register_uart(0, 0, 0);
OpenPOWER on IntegriCloud