aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/hotplug/pci_hotplug_core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index b3b2d8cf4370..b514162125fb 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -544,7 +544,9 @@ out:
544 544
545/** 545/**
546 * pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem 546 * pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
547 * @bus: bus this slot is on
547 * @slot: pointer to the &struct hotplug_slot to register 548 * @slot: pointer to the &struct hotplug_slot to register
549 * @slot_nr: slot number
548 * 550 *
549 * Registers a hotplug slot with the pci hotplug subsystem, which will allow 551 * Registers a hotplug slot with the pci hotplug subsystem, which will allow
550 * userspace interaction to the slot. 552 * userspace interaction to the slot.
@@ -615,7 +617,7 @@ int pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int slot_nr)
615 617
616/** 618/**
617 * pci_hp_deregister - deregister a hotplug_slot with the PCI hotplug subsystem 619 * pci_hp_deregister - deregister a hotplug_slot with the PCI hotplug subsystem
618 * @slot: pointer to the &struct hotplug_slot to deregister 620 * @hotplug: pointer to the &struct hotplug_slot to deregister
619 * 621 *
620 * The @slot must have been registered with the pci hotplug subsystem 622 * The @slot must have been registered with the pci hotplug subsystem
621 * previously with a call to pci_hp_register(). 623 * previously with a call to pci_hp_register().
@@ -651,7 +653,7 @@ int pci_hp_deregister(struct hotplug_slot *hotplug)
651 653
652/** 654/**
653 * pci_hp_change_slot_info - changes the slot's information structure in the core 655 * pci_hp_change_slot_info - changes the slot's information structure in the core
654 * @slot: pointer to the slot whose info has changed 656 * @hotplug: pointer to the slot whose info has changed
655 * @info: pointer to the info copy into the slot's info structure 657 * @info: pointer to the info copy into the slot's info structure
656 * 658 *
657 * @slot must have been registered with the pci 659 * @slot must have been registered with the pci