diff options
-rw-r--r-- | arch/ia64/pci/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 60b45e79f080..15c7c670da39 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c | |||
@@ -562,7 +562,8 @@ pcibios_enable_device (struct pci_dev *dev, int mask) | |||
562 | void | 562 | void |
563 | pcibios_disable_device (struct pci_dev *dev) | 563 | pcibios_disable_device (struct pci_dev *dev) |
564 | { | 564 | { |
565 | acpi_pci_irq_disable(dev); | 565 | if (dev->is_enabled) |
566 | acpi_pci_irq_disable(dev); | ||
566 | } | 567 | } |
567 | 568 | ||
568 | void | 569 | void |