aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/pci/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c
index f4edfbf27134..eb92cef9cd0d 100644
--- a/arch/ia64/pci/pci.c
+++ b/arch/ia64/pci/pci.c
@@ -564,8 +564,8 @@ pcibios_enable_device (struct pci_dev *dev, int mask)
564void 564void
565pcibios_disable_device (struct pci_dev *dev) 565pcibios_disable_device (struct pci_dev *dev)
566{ 566{
567 if (dev->is_enabled) 567 BUG_ON(atomic_read(&dev->enable_cnt));
568 acpi_pci_irq_disable(dev); 568 acpi_pci_irq_disable(dev);
569} 569}
570 570
571void 571void