pci_enable_device(pci_dev); 
err=pci_enable_device(pci_dev); if (err) { printk(KERN_WARNING "bttv%d: Can't enable device.\n", btv->c.nr); return err; } 
static int bttv_resume(struct pci_dev *pci_dev){        struct bttv *btv = pci_get_drvdata(pci_dev);	unsigned long flags;	dprintk("bttv%d: resume\n", btv->c.nr);	/* restore pci state */	if (btv->state.disabled) {		pci_enable_device(pci_dev);		btv->state.disabled = 0;	}	pci_set_power_state(pci_dev, PCI_D0);	pci_restore_state(pci_dev);	/* restore bt878 state */	bttv_reinit_bt848(btv);	gpio_inout(0xffffff, btv->state.gpio_enable);	gpio_write(btv->state.gpio_data);	/* restart dma */	spin_lock_irqsave(&btv->s_lock,flags);	btv->curr = btv->state.video;	btv->cvbi = btv->state.vbi;	btv->loop_irq = btv->state.loop_irq;	bttv_buffer_activate_video(btv, &btv->curr);	bttv_buffer_activate_vbi(btv, btv->cvbi);	bttv_set_dma(btv, 0);	spin_unlock_irqrestore(&btv->s_lock,flags);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/08adb9e20be83bb4c5322bf15b966c537038f6d9/bttv-driver.c/clean/drivers/media/video/bttv-driver.c