summaryrefslogtreecommitdiffstats
path: root/drivers/net/atarilance.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-15 00:50:53 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2006-12-04 22:07:19 +0100
commitafc8eb46c0ea2cab8bc28713b2e0614f015a7516 (patch)
treed4d20e3529f95f0d899f946a7e710c96121a419e /drivers/net/atarilance.c
parent[PATCH] mv643xx_eth.c NULL noise removal (diff)
downloadlinux-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.tar.xz
linux-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.zip
[PATCH] trivial missing __init in drivers/net/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/atarilance.c')
-rw-r--r--drivers/net/atarilance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c
index d79489e46249..7e37ac86a69a 100644
--- a/drivers/net/atarilance.c
+++ b/drivers/net/atarilance.c
@@ -1179,7 +1179,7 @@ static int lance_set_mac_address( struct net_device *dev, void *addr )
#ifdef MODULE
static struct net_device *atarilance_dev;
-int init_module(void)
+int __init init_module(void)
{
atarilance_dev = atarilance_probe(-1);
if (IS_ERR(atarilance_dev))
@@ -1187,7 +1187,7 @@ int init_module(void)
return 0;
}
-void cleanup_module(void)
+void __exit cleanup_module(void)
{
unregister_netdev(atarilance_dev);
free_irq(atarilance_dev->irq, atarilance_dev);