diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 3b39ef1a680a..d4e41ef86aa5 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <plat/dma.h> | 38 | #include <plat/dma.h> |
39 | #include <plat/gpmc.h> | 39 | #include <plat/gpmc.h> |
40 | #include <plat/display.h> | 40 | #include <plat/display.h> |
41 | #include <plat/panel-generic-dpi.h> | ||
41 | 42 | ||
42 | #include <plat/gpmc-smc91x.h> | 43 | #include <plat/gpmc-smc91x.h> |
43 | 44 | ||
@@ -270,13 +271,18 @@ static struct omap_dss_device sdp3430_lcd_device = { | |||
270 | .platform_disable = sdp3430_panel_disable_lcd, | 271 | .platform_disable = sdp3430_panel_disable_lcd, |
271 | }; | 272 | }; |
272 | 273 | ||
274 | static struct panel_generic_dpi_data dvi_panel = { | ||
275 | .name = "generic", | ||
276 | .platform_enable = sdp3430_panel_enable_dvi, | ||
277 | .platform_disable = sdp3430_panel_disable_dvi, | ||
278 | }; | ||
279 | |||
273 | static struct omap_dss_device sdp3430_dvi_device = { | 280 | static struct omap_dss_device sdp3430_dvi_device = { |
274 | .name = "dvi", | 281 | .name = "dvi", |
275 | .driver_name = "generic_panel", | ||
276 | .type = OMAP_DISPLAY_TYPE_DPI, | 282 | .type = OMAP_DISPLAY_TYPE_DPI, |
283 | .driver_name = "generic_dpi_panel", | ||
284 | .data = &dvi_panel, | ||
277 | .phy.dpi.data_lines = 24, | 285 | .phy.dpi.data_lines = 24, |
278 | .platform_enable = sdp3430_panel_enable_dvi, | ||
279 | .platform_disable = sdp3430_panel_disable_dvi, | ||
280 | }; | 286 | }; |
281 | 287 | ||
282 | static struct omap_dss_device sdp3430_tv_device = { | 288 | static struct omap_dss_device sdp3430_tv_device = { |