summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2008-12-01 13:10:25 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-12-05 10:55:19 -0800
commita2bb11b208c1bdd36f7468783f01d746fcf061de (patch)
tree994f0b5c6453b22f3367cd51362af9c41b601868 /include
parent6e9082ddf690b53217f76bd9d45aaeea49f6c92e (diff)
downloadlwn-a2bb11b208c1bdd36f7468783f01d746fcf061de.tar.gz
lwn-a2bb11b208c1bdd36f7468783f01d746fcf061de.zip
PCI: Hotplug core: remove 'name'
commit 58319b802a614f10f1b5238fbde7a4b2e9a60069 upstream. Now that the PCI core manages the 'name' for each individual hotplug driver, and all drivers (except rpaphp) have been converted to use hotplug_slot_name(), there is no need for the PCI hotplug core to drag around its own copy of name either. Cc: kristen.c.accardi@intel.com Cc: matthew@wil.cx Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci_hotplug.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h
index a3a3245943b1..a00bd1a0f156 100644
--- a/include/linux/pci_hotplug.h
+++ b/include/linux/pci_hotplug.h
@@ -142,8 +142,6 @@ struct hotplug_slot_info {
/**
* struct hotplug_slot - used to register a physical slot with the hotplug pci core
- * @name: the name of the slot being registered. This string must
- * be unique amoung slots registered on this system.
* @ops: pointer to the &struct hotplug_slot_ops to be used for this slot
* @info: pointer to the &struct hotplug_slot_info for the initial values for
* this slot.
@@ -153,7 +151,6 @@ struct hotplug_slot_info {
* needs.
*/
struct hotplug_slot {
- char *name;
struct hotplug_slot_ops *ops;
struct hotplug_slot_info *info;
void (*release) (struct hotplug_slot *slot);