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>
Este cometimento está contido em:

cometido por
Nicolas Ferre

ascendente
71b149b3f7
cometimento
7eb1dbb3be
@@ -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);
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador