aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/pci_root.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index 417876bce854..b5cb729328a4 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -525,6 +525,7 @@ static int acpi_pci_root_add(struct acpi_device *device,
525 dev_err(&device->dev, 525 dev_err(&device->dev,
526 "Bus %04x:%02x not present in PCI namespace\n", 526 "Bus %04x:%02x not present in PCI namespace\n",
527 root->segment, (unsigned int)root->secondary.start); 527 root->segment, (unsigned int)root->secondary.start);
528 device->driver_data = NULL;
528 result = -ENODEV; 529 result = -ENODEV;
529 goto end; 530 goto end;
530 } 531 }