From 8eafafb54bc594be8a23b00b25055b59838a9c79 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 15 May 2007 20:36:50 +0100 Subject: [PATCH] rpadlpar breakage - fallout of struct subsystem removal Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/pci/hotplug/rpadlpar_sysfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pci/hotplug/rpadlpar_sysfs.c b/drivers/pci/hotplug/rpadlpar_sysfs.c index 6c5be3ff578c..df076064a3e0 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, }; -- GitLab