aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/8390p.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/8390p.c')
-rw-r--r--drivers/net/8390p.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/8390p.c b/drivers/net/8390p.c
index 6ec11dafdb1..cacdd86a27d 100644
--- a/drivers/net/8390p.c
+++ b/drivers/net/8390p.c
@@ -91,16 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp)
}
EXPORT_SYMBOL(NS8390p_init);
-#if defined(MODULE)
-
-int init_module(void)
+static int __init 8390p_init_module(void)
{
return 0;
}
-void cleanup_module(void)
+static void __exit 8390p_cleanup_module(void)
{
}
-#endif /* MODULE */
+module_init(8390p_init_module);
+module_exit(8390p_cleanup_module);
MODULE_LICENSE("GPL");