diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 0f680cc4d9f3..df09e0d6f7d9 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -307,21 +307,9 @@ static struct omap_dss_board_info sdp3430_dss_data = { | |||
307 | .default_device = &sdp3430_lcd_device, | 307 | .default_device = &sdp3430_lcd_device, |
308 | }; | 308 | }; |
309 | 309 | ||
310 | static struct platform_device sdp3430_dss_device = { | ||
311 | .name = "omapdss", | ||
312 | .id = -1, | ||
313 | .dev = { | ||
314 | .platform_data = &sdp3430_dss_data, | ||
315 | }, | ||
316 | }; | ||
317 | |||
318 | static struct regulator_consumer_supply sdp3430_vdda_dac_supply = | 310 | static struct regulator_consumer_supply sdp3430_vdda_dac_supply = |
319 | REGULATOR_SUPPLY("vdda_dac", "omapdss"); | 311 | REGULATOR_SUPPLY("vdda_dac", "omapdss"); |
320 | 312 | ||
321 | static struct platform_device *sdp3430_devices[] __initdata = { | ||
322 | &sdp3430_dss_device, | ||
323 | }; | ||
324 | |||
325 | static struct omap_board_config_kernel sdp3430_config[] __initdata = { | 313 | static struct omap_board_config_kernel sdp3430_config[] __initdata = { |
326 | }; | 314 | }; |
327 | 315 | ||
@@ -795,7 +783,7 @@ static void __init omap_3430sdp_init(void) | |||
795 | { | 783 | { |
796 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 784 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
797 | omap3430_i2c_init(); | 785 | omap3430_i2c_init(); |
798 | platform_add_devices(sdp3430_devices, ARRAY_SIZE(sdp3430_devices)); | 786 | omap_display_init(&sdp3430_dss_data); |
799 | if (omap_rev() > OMAP3430_REV_ES1_0) | 787 | if (omap_rev() > OMAP3430_REV_ES1_0) |
800 | ts_gpio = SDP3430_TS_GPIO_IRQ_SDPV2; | 788 | ts_gpio = SDP3430_TS_GPIO_IRQ_SDPV2; |
801 | else | 789 | else |