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-rsi-ews.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-rsi-ews.c')
-rw-r--r-- | arch/arm/mach-at91/board-rsi-ews.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-rsi-ews.c b/arch/arm/mach-at91/board-rsi-ews.c index 10d8730aaa7e..24ab9be7510f 100644 --- a/arch/arm/mach-at91/board-rsi-ews.c +++ b/arch/arm/mach-at91/board-rsi-ews.c | |||
@@ -35,9 +35,6 @@ static void __init rsi_ews_init_early(void) | |||
35 | { | 35 | { |
36 | /* Initialize processor: 18.432 MHz crystal */ | 36 | /* Initialize processor: 18.432 MHz crystal */ |
37 | at91_initialize(18432000); | 37 | at91_initialize(18432000); |
38 | |||
39 | /* Setup the LEDs */ | ||
40 | at91_init_leds(AT91_PIN_PB6, AT91_PIN_PB9); | ||
41 | } | 38 | } |
42 | 39 | ||
43 | /* | 40 | /* |
@@ -187,6 +184,9 @@ static struct platform_device rsiews_nor_flash = { | |||
187 | */ | 184 | */ |
188 | static void __init rsi_ews_board_init(void) | 185 | static void __init rsi_ews_board_init(void) |
189 | { | 186 | { |
187 | /* Setup the LEDs */ | ||
188 | at91_init_leds(AT91_PIN_PB6, AT91_PIN_PB9); | ||
189 | |||
190 | /* Serial */ | 190 | /* Serial */ |
191 | /* DBGU on ttyS0. (Rx & Tx only) */ | 191 | /* DBGU on ttyS0. (Rx & Tx only) */ |
192 | /* This one is for debugging */ | 192 | /* This one is for debugging */ |