summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2006-05-26 16:12:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-05-26 16:12:24 -0400
commitb1141f6d5dead296adcabd4a1e8ea2b994e287cb (patch)
treed943fdb68114edcf67223659764ef458860eebbd /drivers/net
parentf587fb74b26a10354f1eb73e8d054cd15e5a2fe2 (diff)
parent4541a5db0ba33d9c692e5b2f8d7805e336fabe7c (diff)
downloadkernel-crypto-b1141f6d5dead296adcabd4a1e8ea2b994e287cb.tar.gz
kernel-crypto-b1141f6d5dead296adcabd4a1e8ea2b994e287cb.tar.xz
kernel-crypto-b1141f6d5dead296adcabd4a1e8ea2b994e287cb.zip
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/arlan-main.c4
-rw-r--r--drivers/net/wireless/wavelan.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/arlan-main.c b/drivers/net/wireless/arlan-main.c
index 0e1ac338cac..bed6823d980 100644
--- a/drivers/net/wireless/arlan-main.c
+++ b/drivers/net/wireless/arlan-main.c
@@ -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;
diff --git a/drivers/net/wireless/wavelan.c b/drivers/net/wireless/wavelan.c
index ff192e96268..dade4b90357 100644
--- a/drivers/net/wireless/wavelan.c
+++ b/drivers/net/wireless/wavelan.c
@@ -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;