summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorThomas Weber <weber@corscience.de>2010-03-24 12:52:14 +0000
committerTony Lindgren <tony@atomide.com>2010-04-23 15:37:24 -0700
commitfaec32e5bfe699e40adcf30df82ec1db8fe8e43b (patch)
tree6893bc83e5a7d9a6aada4e93933b227c0ed3e78e /arch/arm/mach-omap2
parent184644a633d1b8cf5f2f7cf0debc4ee3917adc44 (diff)
downloadlinux-stable-faec32e5bfe699e40adcf30df82ec1db8fe8e43b.tar.gz
linux-stable-faec32e5bfe699e40adcf30df82ec1db8fe8e43b.tar.bz2
linux-stable-faec32e5bfe699e40adcf30df82ec1db8fe8e43b.zip
omap: Devkit8000: Change position of init calls
Change position of calling serial and ethernet initialization. Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index d605e0558a54..0b4abd47a804 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -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);