Merge branch 'pci/acpi' into next
* pci/acpi: ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle
This commit is contained in:
commit
a9a6bb4633
|
@ -624,7 +624,7 @@ void acpi_pci_add_bus(struct pci_bus *bus)
|
|||
union acpi_object *obj;
|
||||
struct pci_host_bridge *bridge;
|
||||
|
||||
if (acpi_pci_disabled || !bus->bridge)
|
||||
if (acpi_pci_disabled || !bus->bridge || !ACPI_HANDLE(bus->bridge))
|
||||
return;
|
||||
|
||||
acpi_pci_slot_enumerate(bus);
|
||||
|
|
Loading…
Reference in New Issue