From: Adrian Bunk <bunk@fs.tum.de>
To: linux.nics@intel.com, <akpm@zip.com.au>, <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] fix e100 compile error in kernel 2.5.10
Date: Thu, 25 Apr 2002 00:02:43 +0200 (CEST) [thread overview]
Message-ID: <Pine.NEB.4.44.0204242355120.293-100000@tethys.fachschaften.tu-muenchen.de> (raw)
Hi,
when trying to compile the driver for Intel's E100 statically into kernel
2.5.10 the final linking fails with the following error:
<-- snip -->
...
net/network.o \
--end-group \
-o vmlinux
drivers/net/net.o: In function `e100_diag_config_loopback':
drivers/net/net.o(.text+0x5063): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1
<-- snip -->
The following patch should fix it (e100_diag_config_loopback is not
__devexit but it calls e100_phy_reset that was __devexit).
--- drivers/net/e100/e100_phy.c.old Wed Apr 24 23:45:52 2002
+++ drivers/net/e100/e100_phy.c Wed Apr 24 23:46:08 2002
@@ -873,7 +873,7 @@
e100_set_fc(bdp);
}
-void __devexit
+void
e100_phy_reset(struct e100_private *bdp)
{
u16 ctrl_reg;
cu
Adrian
--
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox
reply other threads:[~2002-04-24 21:58 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=Pine.NEB.4.44.0204242355120.293-100000@tethys.fachschaften.tu-muenchen.de \
--to=bunk@fs.tum.de \
--cc=akpm@zip.com.au \
--cc=jgarzik@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux.nics@intel.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).