Merge tag 'pci-v3.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[linux-2.6-block.git] / drivers / pci / pci-acpi.c
index f7ebdba14bde9bc1c7e3dd702bc6e47506067ff5..2bdbc00802041454a8258792b3cbbe617cffd0b6 100644 (file)
@@ -361,7 +361,7 @@ static void pci_acpi_cleanup(struct device *dev)
 
 static bool pci_acpi_bus_match(struct device *dev)
 {
-       return dev->bus == &pci_bus_type;
+       return dev_is_pci(dev);
 }
 
 static struct acpi_bus_type acpi_pci_bus = {