diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-05 02:27:57 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-04-17 05:06:32 -0400 |
commit | 7eb1dbb3beb982a7d72514abff96ebc08a22e5cd (patch) | |
tree | f94d5c4c9e4f4b3acfbde20cf713a56af52fff80 /arch/arm/mach-at91/board-ecbat91.c | |
parent | 71b149b3f740501c2d59c80de5b10f5e45051099 (diff) |
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-ecbat91.c')
-rw-r--r-- | arch/arm/mach-at91/board-ecbat91.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c index 2510825f02d6..89cc3726a9ce 100644 --- a/arch/arm/mach-at91/board-ecbat91.c +++ b/arch/arm/mach-at91/board-ecbat91.c | |||
@@ -50,9 +50,6 @@ static void __init ecb_at91init_early(void) | |||
50 | 50 | ||
51 | /* Initialize processor: 18.432 MHz crystal */ | 51 | /* Initialize processor: 18.432 MHz crystal */ |
52 | at91_initialize(18432000); | 52 | at91_initialize(18432000); |
53 | |||
54 | /* Setup the LEDs */ | ||
55 | at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7); | ||
56 | } | 53 | } |
57 | 54 | ||
58 | static struct macb_platform_data __initdata ecb_at91eth_data = { | 55 | static struct macb_platform_data __initdata ecb_at91eth_data = { |
@@ -142,6 +139,9 @@ static struct spi_board_info __initdata ecb_at91spi_devices[] = { | |||
142 | 139 | ||
143 | static void __init ecb_at91board_init(void) | 140 | static void __init ecb_at91board_init(void) |
144 | { | 141 | { |
142 | /* Setup the LEDs */ | ||
143 | at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7); | ||
144 | |||
145 | /* Serial */ | 145 | /* Serial */ |
146 | /* DBGU on ttyS0. (Rx & Tx only) */ | 146 | /* DBGU on ttyS0. (Rx & Tx only) */ |
147 | at91_register_uart(0, 0, 0); | 147 | at91_register_uart(0, 0, 0); |