diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 0afa3011db0f..ebaa230e67ed 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <plat/gpmc.h> | 31 | #include <plat/gpmc.h> |
32 | #include <plat/usb.h> | 32 | #include <plat/usb.h> |
33 | #include <plat/display.h> | 33 | #include <plat/display.h> |
34 | #include <plat/panel-generic-dpi.h> | ||
34 | #include <plat/onenand.h> | 35 | #include <plat/onenand.h> |
35 | 36 | ||
36 | #include "mux.h" | 37 | #include "mux.h" |
@@ -459,13 +460,18 @@ static void igep2_disable_dvi(struct omap_dss_device *dssdev) | |||
459 | gpio_direction_output(IGEP2_GPIO_DVI_PUP, 0); | 460 | gpio_direction_output(IGEP2_GPIO_DVI_PUP, 0); |
460 | } | 461 | } |
461 | 462 | ||
463 | static struct panel_generic_dpi_data dvi_panel = { | ||
464 | .name = "generic", | ||
465 | .platform_enable = igep2_enable_dvi, | ||
466 | .platform_disable = igep2_disable_dvi, | ||
467 | }; | ||
468 | |||
462 | static struct omap_dss_device igep2_dvi_device = { | 469 | static struct omap_dss_device igep2_dvi_device = { |
463 | .type = OMAP_DISPLAY_TYPE_DPI, | 470 | .type = OMAP_DISPLAY_TYPE_DPI, |
464 | .name = "dvi", | 471 | .name = "dvi", |
465 | .driver_name = "generic_panel", | 472 | .driver_name = "generic_dpi_panel", |
473 | .data = &dvi_panel, | ||
466 | .phy.dpi.data_lines = 24, | 474 | .phy.dpi.data_lines = 24, |
467 | .platform_enable = igep2_enable_dvi, | ||
468 | .platform_disable = igep2_disable_dvi, | ||
469 | }; | 475 | }; |
470 | 476 | ||
471 | static struct omap_dss_device *igep2_dss_devices[] = { | 477 | static struct omap_dss_device *igep2_dss_devices[] = { |