Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4541a5db authored by Randy Dunlap's avatar Randy Dunlap Committed by John W. Linville
Browse files

[PATCH] arlan: fix section mismatch warnings



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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 53072d68
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;

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


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