summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro2007-05-15 21:36:50 +0200
committerLinus Torvalds2007-05-16 03:56:37 +0200
commit8eafafb54bc594be8a23b00b25055b59838a9c79 (patch)
treeaec58c10af37edcf29856853ff96d4be818eaa4a
parentem28xx and ivtv should depend on PCI (diff)
downloadkernel-qcow2-linux-8eafafb54bc594be8a23b00b25055b59838a9c79.tar.gz
kernel-qcow2-linux-8eafafb54bc594be8a23b00b25055b59838a9c79.tar.xz
kernel-qcow2-linux-8eafafb54bc594be8a23b00b25055b59838a9c79.zip
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>
-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 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,
};