rpadlpar breakage - fallout of struct subsystem removal
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 15 May 2007 19:36:50 +0000 (20:36 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 16 May 2007 01:56:37 +0000 (18:56 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/hotplug/rpadlpar_sysfs.c

index 6c5be3ff578c24b7a2755557b28f4b9602e17dda..df076064a3e07d2980d0cea2bbab5e8ab557bbd7 100644 (file)
@@ -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,
 };