summaryrefslogtreecommitdiffstats
path: root/drivers/net/apne.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/apne.c
parent059807755c0d2b2727588bb52951f8ff6cbf07b4 (diff)
downloadop-kernel-dev-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.zip
op-kernel-dev-afc8eb46c0ea2cab8bc28713b2e0614f015a7516.tar.gz
[PATCH] trivial missing __init in drivers/net/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/apne.c')
-rw-r--r--drivers/net/apne.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/apne.c b/drivers/net/apne.c
index 9164d8c..d4e4081 100644
--- a/drivers/net/apne.c
+++ b/drivers/net/apne.c
@@ -568,7 +568,7 @@ static irqreturn_t apne_interrupt(int irq, void *dev_id)
#ifdef MODULE
static struct net_device *apne_dev;
-int init_module(void)
+int __init init_module(void)
{
apne_dev = apne_probe(-1);
if (IS_ERR(apne_dev))
@@ -576,7 +576,7 @@ int init_module(void)
return 0;
}
-void cleanup_module(void)
+void __exit cleanup_module(void)
{
unregister_netdev(apne_dev);
OpenPOWER on IntegriCloud