PCI hotplug: SGI hotplug: do not use hotplug_slot_attr
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 27 Jul 2009 03:06:46 +0000 (12:06 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 7 Aug 2009 17:36:27 +0000 (10:36 -0700)
By the pci slot changes, callbacks of attributes under slot directory
(/sys/bus/pci/slots) had been changed to get the pointer to struct
pci_slot instead of struct hotplug_slot. So the path_show() that
assumes the parameter is a pointer to struct hotplug_slot seems
broken.

Tested-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found