diff options
-rw-r--r-- | drivers/pci/hotplug/rpadlpar_sysfs.c | 5 |
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 = { | |||
129 | }; | 129 | }; |
130 | 130 | ||
131 | struct kset dlpar_io_kset = { | 131 | struct kset dlpar_io_kset = { |
132 | .subsys = &pci_hotplug_slots_subsys, | 132 | .kobj = {.name = DLPAR_KOBJ_NAME, |
133 | .kobj = {.name = DLPAR_KOBJ_NAME, .ktype=&ktype_dlpar_io,}, | 133 | .ktype = &ktype_dlpar_io, |
134 | .parent = &pci_hotplug_slots_subsys.kobj}, | ||
134 | .ktype = &ktype_dlpar_io, | 135 | .ktype = &ktype_dlpar_io, |
135 | }; | 136 | }; |
136 | 137 | ||