diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-05 08:27:57 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-04-17 11:06:32 +0200 |
commit | 7eb1dbb3beb982a7d72514abff96ebc08a22e5cd (patch) | |
tree | f94d5c4c9e4f4b3acfbde20cf713a56af52fff80 /arch/arm/mach-at91/board-rm9200ek.c | |
parent | ARM: at91: do not pin mux the UARTs in init_early (diff) | |
download | linux-7eb1dbb3beb982a7d72514abff96ebc08a22e5cd.tar.xz 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-rm9200ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-rm9200ek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-rm9200ek.c b/arch/arm/mach-at91/board-rm9200ek.c index b68726140b6a..78ffc8315f97 100644 --- a/arch/arm/mach-at91/board-rm9200ek.c +++ b/arch/arm/mach-at91/board-rm9200ek.c @@ -50,9 +50,6 @@ static void __init ek_init_early(void) { /* Initialize processor: 18.432 MHz crystal */ at91_initialize(18432000); - - /* Setup the LEDs */ - at91_init_leds(AT91_PIN_PB1, AT91_PIN_PB2); } static struct macb_platform_data __initdata ek_eth_data = { @@ -150,6 +147,9 @@ static struct gpio_led ek_leds[] = { static void __init ek_board_init(void) { + /* Setup the LEDs */ + at91_init_leds(AT91_PIN_PB1, AT91_PIN_PB2); + /* Serial */ /* DBGU on ttyS0. (Rx & Tx only) */ at91_register_uart(0, 0, 0); |