aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/8390.c
diff options
context:
space:
mode:
authorJon Schindler <jkschind@gmail.com>2008-02-28 02:30:14 -0500
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 a82807641dcf..0ed41a3d9dcb 100644
--- a/drivers/net/8390.c
+++ b/drivers/net/8390.c
@@ -48,14 +48,16 @@ EXPORT_SYMBOL(__alloc_ei_netdev);
48 48
49#if defined(MODULE) 49#if defined(MODULE)
50 50
51int init_module(void) 51static int __init ns8390_module_init(void)
52{ 52{
53 return 0; 53 return 0;
54} 54}
55 55
56void cleanup_module(void) 56static void __exit ns8390_module_exit(void)
57{ 57{
58} 58}
59 59
60module_init(ns8390_init_module);
61module_exit(ns8390_module_exit);
60#endif /* MODULE */ 62#endif /* MODULE */
61MODULE_LICENSE("GPL"); 63MODULE_LICENSE("GPL");