void __init dove_db_clcd_init(void) { #ifdef CONFIG_FB_DOVE struct dovefb_mach_info *lcd0_dmi, *lcd0_vid_dmi; u32 dev, rev; dove_pcie_id(&dev, &rev); if (front_panel) { lcd0_dmi = &dove_db_fp_lcd0_dmi; lcd0_vid_dmi = &dove_db_fp_lcd0_vid_dmi; } else { if (lcd2dvi) { dove_db_lcd0_dmi.mon_sense = db_lcd0_mon_sense; } lcd0_dmi = &dove_db_lcd0_dmi; lcd0_vid_dmi = &dove_db_lcd0_vid_dmi; } clcd_platform_init(lcd0_dmi, lcd0_vid_dmi, &dove_db_lcd1_dmi, &dove_db_lcd1_vid_dmi, &dove_db_backlight_data); #endif /* CONFIG_FB_DOVE */ }
void __init dove_d2plug_clcd_init(void) { #ifdef CONFIG_FB_DOVE clcd_platform_init(&dove_d2plug_lcd0_dmi, &dove_d2plug_lcd0_vid_dmi, &dove_d2plug_lcd1_dmi, &dove_d2plug_lcd1_vid_dmi, &dove_d2plug_backlight_data); #endif /* CONFIG_FB_DOVE */ }