aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sun3lance.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-06-14 18:50:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-12-04 16:07:19 -0500
commitafc8eb46c0ea2cab8bc28713b2e0614f015a7516 (patch)
treed4d20e3529f95f0d899f946a7e710c96121a419e /drivers/net/sun3lance.c
parent059807755c0d2b2727588bb52951f8ff6cbf07b4 (diff)
downloadkernel_samsung_smdk4412-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.tar.gz
kernel_samsung_smdk4412-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.tar.bz2
kernel_samsung_smdk4412-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.zip
[PATCH] trivial missing __init in drivers/net/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/sun3lance.c')
-rw-r--r--drivers/net/sun3lance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sun3lance.c b/drivers/net/sun3lance.c
index 47a1c09d19a..c62e85d89f4 100644
--- a/drivers/net/sun3lance.c
+++ b/drivers/net/sun3lance.c
@@ -945,7 +945,7 @@ static void set_multicast_list( struct net_device *dev )
static struct net_device *sun3lance_dev;
-int init_module(void)
+int __init init_module(void)
{
sun3lance_dev = sun3lance_probe(-1);
if (IS_ERR(sun3lance_dev))
@@ -953,7 +953,7 @@ int init_module(void)
return 0;
}
-void cleanup_module(void)
+void __exit cleanup_module(void)
{
unregister_netdev(sun3lance_dev);
#ifdef CONFIG_SUN3