/* eeh_disable_irq - disable interrupt for the recovering device  */
static void eeh_disable_irq(struct pci_dev *dev)
/* eeh_disable_irq - disable interrupt for the recovering device  */
static void eeh_disable_irq(struct pci_dev *dev)
{
	struct device_node *dn = pci_device_to_OF_node(dev);
	if (dev->msi_enabled || dev->msix_enabled)
		return;
	if (!irq_has_action(dev->irq))
		return;
	PCI_DN(dn)->eeh_mode |= EEH_MODE_IRQ_DISABLED;
	disable_irq_nosync(dev->irq);
}