/* Note this function is a backend of pci_default_resume and is not supposed to be called by normal code, write proper resume handler and use it instead.  */
int pci_reenable_device(struct pci_dev *dev)
/* Note this function is a backend of pci_default_resume and is not supposed to be called by normal code, write proper resume handler and use it instead.  */
int pci_reenable_device(struct pci_dev *dev)
{
	if (pci_is_enabled(dev))
		return do_pci_enable_device(dev, (1 << PCI_NUM_RESOURCES) - 1);
	return 0;
}