Messages in this thread Patch in this message | | | Date | Thu, 25 Apr 2002 00:02:43 +0200 (CEST) | From | Adrian Bunk <> | Subject | [patch] fix e100 compile error in kernel 2.5.10 |
| |
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
- 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/
| |