[PATCH] wavelan: fix section mismatch
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 25 May 2006 18:09:21 +0000 (11:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 May 2006 20:11:56 +0000 (16:11 -0400)
Fix section mismatch warning:
WARNING: drivers/net/wireless/wavelan.o - Section mismatch: reference to
.init.text: from .text between 'init_module' (at offset 0x371e) and
'cleanup_module'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wavelan.c

index ff192e96268a1c69519a3c35aac6386bec35ed10..dade4b903579fe2d8f06f03cd3d9fe9c590d48fa 100644 (file)
@@ -4306,7 +4306,7 @@ out:
  * Insertion of the module
  * I'm now quite proud of the multi-device support.
  */
-int init_module(void)
+int __init init_module(void)
 {
        int ret = -EIO;         /* Return error if no cards found */
        int i;