Skip to content

Commit

Permalink
[PATCH] arlan: fix section mismatch warnings
Browse files Browse the repository at this point in the history
Fix section mismatch warnings:
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.init.text:arlan_probe from .text between 'init_module' (at offset
0x3526) and 'cleanup_module'
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.init.text:init_arlan_proc from .text between 'init_module' (at offset
0x3539) and 'cleanup_module'
WARNING: drivers/net/wireless/arlan.o - Section mismatch: reference to
.exit.text:cleanup_arlan_proc from .text between 'cleanup_module' (at
offset 0x356c) and 'arlan_diagnostic_info_string'

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 53072d6 commit 4541a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/arlan-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ struct net_device * __init arlan_probe(int unit)
}

#ifdef MODULE
int init_module(void)
int __init init_module(void)
{
int i = 0;

Expand All @@ -1860,7 +1860,7 @@ int init_module(void)
}


void cleanup_module(void)
void __exit cleanup_module(void)
{
int i = 0;
struct net_device *dev;
Expand Down

0 comments on commit 4541a5d

Please sign in to comment.