From: Judith Lebzelter <judith@osdl.org>
To: linuxppc-dev@ozlabs.org
Cc: akpm@osdl.org, paulus@au.ibm.com, linux-kernel@vger.kernel.org
Subject: [PATCH] 2.6.19-rc4-mm2 iseries net_device compile issue
Date: Mon, 6 Nov 2006 13:36:36 -0800 [thread overview]
Message-ID: <20061106213636.GA1339@shell0.pdx.osdl.net> (raw)
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))
reply other threads:[~2006-11-06 21:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061106213636.GA1339@shell0.pdx.osdl.net \
--to=judith@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@au.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).