提交 faec32e5 编写于 作者: T Thomas Weber 提交者: Tony Lindgren

omap: Devkit8000: Change position of init calls

Change position of calling serial and ethernet initialization.
Signed-off-by: NThomas Weber <weber@corscience.de>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 184644a6
...@@ -649,6 +649,10 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { ...@@ -649,6 +649,10 @@ static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
static void __init devkit8000_init(void) static void __init devkit8000_init(void)
{ {
omap_serial_init();
omap_dm9000_init();
devkit8000_i2c_init(); devkit8000_i2c_init();
platform_add_devices(devkit8000_devices, platform_add_devices(devkit8000_devices,
ARRAY_SIZE(devkit8000_devices)); ARRAY_SIZE(devkit8000_devices));
...@@ -658,10 +662,6 @@ static void __init devkit8000_init(void) ...@@ -658,10 +662,6 @@ static void __init devkit8000_init(void)
spi_register_board_info(devkit8000_spi_board_info, spi_register_board_info(devkit8000_spi_board_info,
ARRAY_SIZE(devkit8000_spi_board_info)); ARRAY_SIZE(devkit8000_spi_board_info));
omap_serial_init();
omap_dm9000_init();
devkit8000_ads7846_init(); devkit8000_ads7846_init();
omap_mux_init_gpio(170, OMAP_PIN_INPUT); omap_mux_init_gpio(170, OMAP_PIN_INPUT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册