diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index b527f8d187ad..e0661777f599 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -135,7 +135,7 @@ static inline void board_smc91x_init(void) | |||
135 | 135 | ||
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | static struct omap_board_config_kernel sdp2430_config[] = { | 138 | static struct omap_board_config_kernel sdp2430_config[] __initdata = { |
139 | {OMAP_TAG_LCD, &sdp2430_lcd_config}, | 139 | {OMAP_TAG_LCD, &sdp2430_lcd_config}, |
140 | }; | 140 | }; |
141 | 141 | ||
@@ -143,9 +143,9 @@ static void __init omap_2430sdp_init_irq(void) | |||
143 | { | 143 | { |
144 | omap_board_config = sdp2430_config; | 144 | omap_board_config = sdp2430_config; |
145 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); | 145 | omap_board_config_size = ARRAY_SIZE(sdp2430_config); |
146 | omap2_init_common_hw(NULL, NULL); | 146 | omap2_init_common_infrastructure(); |
147 | omap2_init_common_devices(NULL, NULL); | ||
147 | omap_init_irq(); | 148 | omap_init_irq(); |
148 | omap_gpio_init(); | ||
149 | } | 149 | } |
150 | 150 | ||
151 | static struct twl4030_gpio_platform_data sdp2430_gpio_data = { | 151 | static struct twl4030_gpio_platform_data sdp2430_gpio_data = { |
@@ -218,8 +218,6 @@ static struct omap_usb_config sdp2430_usb_config __initdata = { | |||
218 | static struct omap_board_mux board_mux[] __initdata = { | 218 | static struct omap_board_mux board_mux[] __initdata = { |
219 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 219 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
220 | }; | 220 | }; |
221 | #else | ||
222 | #define board_mux NULL | ||
223 | #endif | 221 | #endif |
224 | 222 | ||
225 | static void __init omap_2430sdp_init(void) | 223 | static void __init omap_2430sdp_init(void) |