[PATCH] ac3200 section fixes
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 05:59:57 +0000 (22:59 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:40:15 +0000 (17:40 -0400)
WARNING: drivers/net/ac3200.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0xf9) and 'ac_close_card'

Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ac3200.c

index 7952dc6..0fbbcb7 100644 (file)
@@ -370,8 +370,7 @@ MODULE_PARM_DESC(mem, "Memory base address(es)");
 MODULE_DESCRIPTION("Ansel AC3200 EISA ethernet driver");
 MODULE_LICENSE("GPL");
 
-int
-init_module(void)
+int __init init_module(void)
 {
        struct net_device *dev;
        int this_dev, found = 0;