switch (state) { 
switch (state.event) { 
static int i810fb_suspend(struct pci_dev *dev, pm_message_t state){	struct fb_info *info = pci_get_drvdata(dev);	struct i810fb_par *par = (struct i810fb_par *) info->par;	int blank = 0, prev_state = par->cur_state;	if (state == prev_state)		return 0;	par->cur_state = state;	switch (state) {	case 1:		blank = VESA_VSYNC_SUSPEND;		break;	case 2:		blank = VESA_HSYNC_SUSPEND;		break;	case 3:		blank = VESA_POWERDOWN;		break;	default:		return -EINVAL;	}	info->fbops->fb_blank(blank, info);	if (!prev_state) { 		agp_unbind_memory(par->i810_gtt.i810_fb_memory);		agp_unbind_memory(par->i810_gtt.i810_cursor_memory);		pci_disable_device(dev);	}	pci_save_state(dev);	pci_set_power_state(dev, pci_choose_state(dev, state));	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ca078bae813dd46c0f9b102fdfb4a3384641ff48/i810_main.c/buggy/drivers/video/i810/i810_main.c