diff options
author | Andrew Morton <akpm@osdl.org> | 2006-08-14 23:00:03 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 17:40:16 -0400 |
commit | 3805f0e28ca313893b87e881201561d5c1857dd8 (patch) | |
tree | 0c12ca79dc2cf4b20c1669903586811c8f6c8cf1 /drivers/net/lance.c | |
parent | 58f149fc65ebced1148789cfb37457a8c7aaca75 (diff) | |
download | op-kernel-dev-3805f0e28ca313893b87e881201561d5c1857dd8.zip op-kernel-dev-3805f0e28ca313893b87e881201561d5c1857dd8.tar.gz |
[PATCH] lance section fix
WARNING: drivers/net/lance.o - Section mismatch: reference to .init.data:lance_portlist from .text between 'init_module' (at offset 0x8d3) and 'lance_purge_ring'
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/lance.c')
-rw-r--r-- | drivers/net/lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/lance.c b/drivers/net/lance.c index c1c3452..5b4dbfe5 100644 --- a/drivers/net/lance.c +++ b/drivers/net/lance.c @@ -326,7 +326,7 @@ MODULE_PARM_DESC(dma, "LANCE/PCnet ISA DMA channel (ignored for some devices)"); MODULE_PARM_DESC(irq, "LANCE/PCnet IRQ number (ignored for some devices)"); MODULE_PARM_DESC(lance_debug, "LANCE/PCnet debug level (0-7)"); -int init_module(void) +int __init init_module(void) { struct net_device *dev; int this_dev, found = 0; |