diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-29 23:22:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:14 -0800 |
commit | 81ace5cd8fcb55e144f496af40d4275b03252456 (patch) | |
tree | 490271ade80924cb0181f71f1c52d7f3976afa76 /include/linux/pci_hotplug.h | |
parent | d405936b322220dc5cca9d2b58ef1911ae8efec9 (diff) | |
download | op-kernel-dev-81ace5cd8fcb55e144f496af40d4275b03252456.zip op-kernel-dev-81ace5cd8fcb55e144f496af40d4275b03252456.tar.gz |
kset: convert pci hotplug to use kset_create_and_add
This also renames pci_hotplug_slots_subsys to pcis_hotplug_slots_kset
catch all current users with a build error instead of a build warning
which can easily be missed.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci_hotplug.h')
-rw-r--r-- | include/linux/pci_hotplug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci_hotplug.h b/include/linux/pci_hotplug.h index ab4cb6e..8f67e8f 100644 --- a/include/linux/pci_hotplug.h +++ b/include/linux/pci_hotplug.h @@ -174,7 +174,7 @@ extern int pci_hp_register (struct hotplug_slot *slot); extern int pci_hp_deregister (struct hotplug_slot *slot); extern int __must_check pci_hp_change_slot_info (struct hotplug_slot *slot, struct hotplug_slot_info *info); -extern struct kset pci_hotplug_slots_subsys; +extern struct kset *pci_hotplug_slots_kset; /* PCI Setting Record (Type 0) */ struct hpp_type0 { |