struct fb_videomode *m;  
static void __devinit i810fb_find_init_mode(struct fb_info *info){	struct fb_videomode mode;	struct fb_var_screeninfo var;	struct fb_monspecs *specs = &info->monspecs;	int found = 0;#ifdef CONFIG_FB_I810_I2C	int i;	int err;	struct i810fb_par *par = info->par;#endif	INIT_LIST_HEAD(&info->modelist);	memset(&mode, 0, sizeof(struct fb_videomode));	var = info->var;#ifdef CONFIG_FB_I810_I2C	i810_create_i2c_busses(par);	for (i = 0; i < 4; i++) {		err = i810_probe_i2c_connector(info, &par->edid, i+1);		if (!err)			break;	}	if (!err)		printk("i810fb_init_pci: DDC probe successful\n");	fb_edid_to_monspecs(par->edid, specs);	if (specs->modedb == NULL)		printk("i810fb_init_pci: Unable to get Mode Database\n");	fb_videomode_to_modelist(specs->modedb, specs->modedb_len,				 &info->modelist);	if (specs->modedb != NULL) {		if (xres && yres) {			struct fb_videomode *m;			if ((m = fb_find_best_mode(&var, &info->modelist))) {				mode = *m;				found  = 1;			}		}		if (!found && specs->misc & FB_MISC_1ST_DETAIL) {			for (i = 0; i < specs->modedb_len; i++) {				if (specs->modedb[i].flag & FB_MODE_IS_FIRST) {					mode = specs->modedb[i];					found = 1;					break;				}			}		}		if (!found) {			mode = specs->modedb[0];			found = 1;		}		fb_videomode_to_var(&var, &mode);	}#endif	if (mode_option)		fb_find_mode(&var, info, mode_option, specs->modedb,			     specs->modedb_len, (found) ? &mode : NULL,			     info->var.bits_per_pixel);	info->var = var;	fb_destroy_modedb(specs->modedb);	specs->modedb = NULL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5ee1ef96a0d5c49809c61bdbb30cdda88e1d23cf/i810_main.c/clean/drivers/video/i810/i810_main.c