Merge branch 'acpi-hotplug'
[firefly-linux-kernel-4.4.55.git] / drivers / acpi / pci_root.c
index 56f05869b08df2ab89bafd661d97b282c36d0b8b..0703bff5e60ecaf2f9d207f9ffc1691d50380384 100644 (file)
@@ -575,6 +575,7 @@ static int acpi_pci_root_add(struct acpi_device *device,
                dev_err(&device->dev,
                        "Bus %04x:%02x not present in PCI namespace\n",
                        root->segment, (unsigned int)root->secondary.start);
+               device->driver_data = NULL;
                result = -ENODEV;
                goto end;
        }