summaryrefslogtreecommitdiffstats
path: root/drivers/net/8390.c
diff options
context:
space:
mode:
authorJon Schindler <jkschind@gmail.com>2008-02-28 01:30:14 -0600
committerJeff Garzik <jeff@garzik.org>2008-03-17 07:49:27 -0400
commit08dc732bf4aa844b2c3994f2ac0d53a7cfe6d656 (patch)
tree2ae13217439abcd5adb2a81de699a77034aa55b1 /drivers/net/8390.c
parent56872167e7339c3afba2fbeb8aa2ce75b93fd991 (diff)
/drivers/net/8390.c replaced init_module&cleanup_module with module_init&module_exit
Replaced init_module and cleanup_module with static functions and module_init/module_exit. Signed-off-by: Jon Schindler <jkschind@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/8390.c')
-rw-r--r--drivers/net/8390.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/8390.c b/drivers/net/8390.c
index a82807641dc..0ed41a3d9dc 100644
--- a/drivers/net/8390.c
+++ b/drivers/net/8390.c
@@ -48,14 +48,16 @@ EXPORT_SYMBOL(__alloc_ei_netdev);
#if defined(MODULE)
-int init_module(void)
+static int __init ns8390_module_init(void)
{
return 0;
}
-void cleanup_module(void)
+static void __exit ns8390_module_exit(void)
{
}
+module_init(ns8390_init_module);
+module_exit(ns8390_module_exit);
#endif /* MODULE */
MODULE_LICENSE("GPL");