]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/ibmphp_ebda.c
PCI Hotplug core: add 'name' param pci_hp_register interface
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / ibmphp_ebda.c
index 8cfd1c4926c8c4b4c1e36ff1a39266df8a8a62e0..342d3e8f77c8c95eca53edcf5b7daf85b8003d95 100644 (file)
@@ -966,7 +966,8 @@ static int __init ebda_rsrc_controller (void)
        list_for_each_entry(tmp_slot, &ibmphp_slot_head, ibm_slot_list) {
                snprintf (tmp_slot->hotplug_slot->name, 30, "%s", create_file_name (tmp_slot));
                pci_hp_register(tmp_slot->hotplug_slot,
-                       pci_find_bus(0, tmp_slot->bus), tmp_slot->device);
+                       pci_find_bus(0, tmp_slot->bus), tmp_slot->device,
+                       tmp_slot->hotplug_slot->name);
        }
 
        print_ebda_hpc ();