]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/pci/hotplug/cpci_hotplug_core.c
PCI Hotplug core: add 'name' param pci_hp_register interface
[mirror_ubuntu-zesty-kernel.git] / drivers / pci / hotplug / cpci_hotplug_core.c
index 935947991dc98649dfaa8794fb55604ee12cb895..5e5dee85763c7f2f74ee3644273449c89e4fbd28 100644 (file)
@@ -285,7 +285,8 @@ cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last)
                info->attention_status = cpci_get_attention_status(slot);
 
                dbg("registering slot %s", slot->hotplug_slot->name);
-               status = pci_hp_register(slot->hotplug_slot, bus, i);
+               status = pci_hp_register(slot->hotplug_slot, bus, i,
+                                        slot->hotplug_slot->name);
                if (status) {
                        err("pci_hp_register failed with error %d", status);
                        goto error_name;