]> err.no Git - linux-2.6/commitdiff
[PATCH] at1700 section fix
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 05:59:59 +0000 (22:59 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:40:15 +0000 (17:40 -0400)
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>
drivers/net/at1700.c

index 5d7929c79bce8743acf4cebdef6079358898d713..4ca061c2d5b26a869404b9bb9f26e40df62c6dab 100644 (file)
@@ -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");