static struct panel_generic_dpi_data lcd_panel = {
    .name           = "sharp_lq_panel",
    .platform_enable        = devkit8000_panel_enable_lcd,
    .platform_disable       = devkit8000_panel_disable_lcd,
};

static struct omap_dss_device devkit8000_lcd_device = {
    .name                   = "lcd",
    .type                   = OMAP_DISPLAY_TYPE_DPI,
    .driver_name            = "generic_dpi-panel",
    .data           = &lcd;_panel,
    .panel.config           = OMAP_DSS_LCD_TFT|OMAP_DSS_LCD_IVS|OMAP_DSS_LCD_IHS,
    .panel.acb              = 0x28,
    .phy.dpi.data_lines     = 24,
    .reset_gpio             = -EINVAL, /* will be replaced */
};

static struct panel_generic_dpi_data dvi_panel = {
    .name           = "generic",
    .platform_enable        = devkit8000_panel_enable_dvi,
    .platform_disable       = devkit8000_panel_disable_dvi,
};

Add a code snippet to your website: www.paste.org