summaryrefslogtreecommitdiff
path: root/drivers/net/at1700.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-15 09:59:59 +0400
committerJeff Garzik <jeff@garzik.org>2006-08-20 01:40:15 +0400
commit5d930108c914c04fbb0bfbb059d23a5fcaf0d1e7 (patch)
treefd23d6c39c9860e49e8a6faac0c2dec6ad21751e /drivers/net/at1700.c
parente26c129a49a7a4990f362a9cdb3084198b4d9d7b (diff)
downloadlinux-5d930108c914c04fbb0bfbb059d23a5fcaf0d1e7.tar.xz
[PATCH] at1700 section fix
WARNING: drivers/net/at1700.o - Section mismatch: reference to .init.text:at1700_probe from .text between 'init_module' (at offset 0x75) and 'net_get_stats' 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/at1700.c')
-rw-r--r--drivers/net/at1700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/at1700.c b/drivers/net/at1700.c
index 5d7929c79bce..4ca061c2d5b2 100644
--- a/drivers/net/at1700.c
+++ b/drivers/net/at1700.c
@@ -901,7 +901,7 @@ MODULE_PARM_DESC(io, "AT1700/FMV18X I/O base address");
MODULE_PARM_DESC(irq, "AT1700/FMV18X IRQ number");
MODULE_PARM_DESC(net_debug, "AT1700/FMV18X debug level (0-6)");
-int init_module(void)
+int __init init_module(void)
{
if (io == 0)
printk("at1700: You should not use auto-probing with insmod!\n");