linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [viro@ftp.linux.org.uk: [PATCH] rpadlpar breakage - fallout of struct subsystem removal]
@ 2007-05-15 19:47 Al Viro
  2007-05-16  0:49 ` Michael Ellerman
  2007-05-16 21:22 ` John Rose
  0 siblings, 2 replies; 5+ messages in thread
From: Al Viro @ 2007-05-15 19:47 UTC (permalink / raw)
  To: linuxppc-dev

[oops - typo in Cc in original posting]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 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 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,
 };
 
-- 
1.5.0-rc2.GIT


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

----- End forwarded message -----

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-16 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 19:47 [viro@ftp.linux.org.uk: [PATCH] rpadlpar breakage - fallout of struct subsystem removal] Al Viro
2007-05-16  0:49 ` Michael Ellerman
2007-05-16  6:57   ` Benjamin Herrenschmidt
2007-05-16  7:15     ` Greg KH
2007-05-16 21:22 ` John Rose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).