diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-15 00:50:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-12-04 22:07:19 +0100 |
commit | afc8eb46c0ea2cab8bc28713b2e0614f015a7516 (patch) | |
tree | d4d20e3529f95f0d899f946a7e710c96121a419e /drivers/net/atarilance.c | |
parent | [PATCH] mv643xx_eth.c NULL noise removal (diff) | |
download | linux-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.c | 4 |
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); |