Use the new TFP410 platform driver instead of the old omap_dss_driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx> Cc: Mike Rapoport <mike@xxxxxxxxxxxxxx> Cc: Igor Grinberg <grinberg@xxxxxxxxxxxxxx> --- arch/arm/mach-omap2/board-cm-t35.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 1b34c96..4f23be0 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c @@ -294,20 +294,20 @@ static void __init cm_t35_init_display(void) #define CM_T35_DVI_EN_GPIO 54 static struct tfp410_platform_data dvi_panel = { + .name = "dvi", + .source = "dpi.0", + .data_lines = 24, .power_down_gpio = CM_T35_DVI_EN_GPIO, .i2c_bus_num = -1, }; -static struct omap_dss_device cm_t35_dvi_device = { - .name = "dvi", - .type = OMAP_DISPLAY_TYPE_DPI, - .driver_name = "tfp410", - .data = &dvi_panel, - .phy.dpi.data_lines = 24, +static struct platform_device cm_t35_dvi_device = { + .name = "tfp410", + .id = 0, + .dev.platform_data = &dvi_panel, }; static struct omap_dss_device *cm_t35_dss_devices[] = { - &cm_t35_dvi_device, &cm_t35_tv_device, }; @@ -321,6 +321,8 @@ static void __init cm_t35_init_display(void) { int err; + platform_device_register(&cm_t35_dvi_device); + err = omap_display_init(&cm_t35_dss_data); if (err) pr_err("CM-T35: failed to register DSS device\n"); -- 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