/* eeh_report_resume - tell device to resume normal operations  */
static int eeh_report_resume(struct pci_dev *dev, void *userdata)
/* eeh_report_resume - tell device to resume normal operations  */
static int eeh_report_resume(struct pci_dev *dev, void *userdata)
{
	struct pci_driver *driver = dev->driver;
	dev->error_state = pci_channel_io_normal;
	if (!driver)
		return 0;
	eeh_enable_irq(dev);
	if (!driver->err_handler ||
	    !driver->err_handler->resume)
		return 0;
	driver->err_handler->resume(dev);
	return 0;
}