Skip to content

Commit

Permalink
[PATCH] wavelan: fix section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and John W. Linville committed May 26, 2006
1 parent 705af30 commit 53072d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wavelan.c
Original file line number Diff line number Diff line change
Expand Up @@ -4306,7 +4306,7 @@ struct net_device * __init wavelan_probe(int unit)
* 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;
Expand Down

0 comments on commit 53072d6

Please sign in to comment.