Browse Source

[PATCH] wavelan: fix section mismatch

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>
Randy Dunlap 19 years ago
parent
commit
53072d68cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/wavelan.c

+ 1 - 1
drivers/net/wireless/wavelan.c

@@ -4306,7 +4306,7 @@ out:
  * Insertion of the module
  * Insertion of the module
  * I'm now quite proud of the multi-device support.
  * 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 ret = -EIO;		/* Return error if no cards found */
 	int i;
 	int i;