linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.6.19-rc4-mm2 iseries net_device compile issue
@ 2006-11-06 21:36 Judith Lebzelter
  0 siblings, 0 replies; only message in thread
From: Judith Lebzelter @ 2006-11-06 21:36 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: akpm, paulus, linux-kernel

Hi,

2.6.19-rc4-mm2 has this error for 'powerpc' allmodconfig:

drivers/net/iseries_veth.c: In function 'veth_probe_one':
drivers/net/iseries_veth.c:1103: error: 'struct net_device' has no member named 'class_dev'

This patch fixes the error.

Signed-off-by: Judith Lebzelter <judith@osdl.org>
---
Files edited:
drivers/net/iseries_veth.c
---

Index: linux/drivers/net/iseries_veth.c
===================================================================
--- linux.orig/drivers/net/iseries_veth.c	2006-11-02 13:59:38.000000000 -0800
+++ linux/drivers/net/iseries_veth.c	2006-11-02 14:05:44.000000000 -0800
@@ -1100,7 +1100,7 @@
 	}
 
 	kobject_init(&port->kobject);
-	port->kobject.parent = &dev->class_dev.kobj;
+	port->kobject.parent = &dev->dev.kobj;
 	port->kobject.ktype  = &veth_port_ktype;
 	kobject_set_name(&port->kobject, "veth_port");
 	if (0 != kobject_add(&port->kobject))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-06 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 21:36 [PATCH] 2.6.19-rc4-mm2 iseries net_device compile issue Judith Lebzelter

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).