summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpadlpar_sysfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-05-15 20:36:50 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-15 18:56:37 -0700
commit8eafafb54bc594be8a23b00b25055b59838a9c79 (patch)
treeaec58c10af37edcf29856853ff96d4be818eaa4a /drivers/pci/hotplug/rpadlpar_sysfs.c
parent1b2bad2f049e405530b4a8a478edc45770b219c1 (diff)
downloadop-kernel-dev-8eafafb54bc594be8a23b00b25055b59838a9c79.zip
op-kernel-dev-8eafafb54bc594be8a23b00b25055b59838a9c79.tar.gz
rpadlpar breakage - fallout of struct subsystem removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/hotplug/rpadlpar_sysfs.c')
-rw-r--r--drivers/pci/hotplug/rpadlpar_sysfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpadlpar_sysfs.c b/drivers/pci/hotplug/rpadlpar_sysfs.c
index 6c5be3f..df07606 100644
--- a/drivers/pci/hotplug/rpadlpar_sysfs.c
+++ b/drivers/pci/hotplug/rpadlpar_sysfs.c
@@ -129,8 +129,9 @@ struct kobj_type ktype_dlpar_io = {
};
struct kset dlpar_io_kset = {
- .subsys = &pci_hotplug_slots_subsys,
- .kobj = {.name = DLPAR_KOBJ_NAME, .ktype=&ktype_dlpar_io,},
+ .kobj = {.name = DLPAR_KOBJ_NAME,
+ .ktype = &ktype_dlpar_io,
+ .parent = &pci_hotplug_slots_subsys.kobj},
.ktype = &ktype_dlpar_io,
};
OpenPOWER on IntegriCloud