Use the new generic-dpi-panel platform driver instead of the old omap_dss_driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx> --- arch/arm/mach-omap2/board-am3517evm.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index c545981..a7e728e 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c @@ -169,21 +169,21 @@ static void am3517_evm_panel_disable_lcd(struct omap_dss_device *dssdev) } static struct panel_generic_dpi_data lcd_panel = { + .display_name = "lcd", + .source = "dpi.0", .name = "sharp_lq", + .data_lines = 16, .platform_enable = am3517_evm_panel_enable_lcd, .platform_disable = am3517_evm_panel_disable_lcd, }; -static struct omap_dss_device am3517_evm_lcd_device = { - .type = OMAP_DISPLAY_TYPE_DPI, - .name = "lcd", - .driver_name = "generic_dpi_panel", - .data = &lcd_panel, - .phy.dpi.data_lines = 16, +static struct platform_device am3517_evm_lcd_device = { + .name = "generic_dpi_panel", + .id = 0, + .dev.platform_data = &lcd_panel, }; static struct omap_dss_device *am3517_evm_dss_devices[] = { - &am3517_evm_lcd_device, &am3517_evm_tv_device, }; @@ -362,6 +362,9 @@ static void __init am3517_evm_init(void) #if defined(CONFIG_MACH_OMAP3517EVM_EXPANSION_DVI) platform_device_register(&am3517_evm_dvi_device); #endif +#if defined(CONFIG_MACH_OMAP3517EVM_EXPANSION_LCD) + platform_device_register(&am3517_evm_lcd_device); +#endif /* RTC - S35390A */ am3517_evm_rtc_init(); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html