]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
omap: Devkit8000: Change position of init calls
authorThomas Weber <weber@corscience.de>
Wed, 24 Mar 2010 12:52:14 +0000 (12:52 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Apr 2010 22:37:24 +0000 (15:37 -0700)
Change position of calling serial and ethernet initialization.

Signed-off-by: Thomas Weber <weber@corscience.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-devkit8000.c

index d605e0558a545c2a240d3ad698fc1ca3d8bcbdd6..0b4abd47a804fe007c1e55cbc2fd14f48995d6eb 100644 (file)
@@ -649,6 +649,10 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
 
 static void __init devkit8000_init(void)
 {
+       omap_serial_init();
+
+       omap_dm9000_init();
+
        devkit8000_i2c_init();
        platform_add_devices(devkit8000_devices,
                        ARRAY_SIZE(devkit8000_devices));
@@ -658,10 +662,6 @@ static void __init devkit8000_init(void)
        spi_register_board_info(devkit8000_spi_board_info,
        ARRAY_SIZE(devkit8000_spi_board_info));
 
-       omap_serial_init();
-
-       omap_dm9000_init();
-
        devkit8000_ads7846_init();
 
        omap_mux_init_gpio(170, OMAP_PIN_INPUT);