]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/pci_slot.c
PCI: update pci_create_slot() to take a 'hotplug' param
[linux-2.6-omap-h63xx.git] / drivers / acpi / pci_slot.c
index d5b4ef898879dd913853feb588c5c802f7425266..8d4a568be1cc2041ea4bb2841d7f41dd1198756e 100644 (file)
@@ -150,7 +150,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
        }
 
        snprintf(name, sizeof(name), "%u", (u32)sun);
-       pci_slot = pci_create_slot(pci_bus, device, name);
+       pci_slot = pci_create_slot(pci_bus, device, name, NULL);
        if (IS_ERR(pci_slot)) {
                err("pci_create_slot returned %ld\n", PTR_ERR(pci_slot));
                kfree(slot);