diff options
Diffstat (limited to 'drivers/acpi/pci_bind.c')
-rw-r--r-- | drivers/acpi/pci_bind.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/pci_bind.c b/drivers/acpi/pci_bind.c index 6eb58ef366ef..62cb383222f8 100644 --- a/drivers/acpi/pci_bind.c +++ b/drivers/acpi/pci_bind.c | |||
@@ -113,8 +113,7 @@ static int acpi_pci_unbind(struct acpi_device *device) | |||
113 | return 0; | 113 | return 0; |
114 | 114 | ||
115 | if (dev->subordinate) | 115 | if (dev->subordinate) |
116 | acpi_pci_irq_del_prt(pci_domain_nr(dev->bus), | 116 | acpi_pci_irq_del_prt(dev->subordinate); |
117 | dev->subordinate->number); | ||
118 | 117 | ||
119 | pci_dev_put(dev); | 118 | pci_dev_put(dev); |
120 | return 0; | 119 | return 0; |