diff options
author | Jon Schindler <jkschind@gmail.com> | 2008-02-28 02:30:14 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 07:49:27 -0400 |
commit | 08dc732bf4aa844b2c3994f2ac0d53a7cfe6d656 (patch) | |
tree | 2ae13217439abcd5adb2a81de699a77034aa55b1 | |
parent | 56872167e7339c3afba2fbeb8aa2ce75b93fd991 (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>
-rw-r--r-- | drivers/net/8390.c | 6 |
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 | ||
51 | int init_module(void) | 51 | static int __init ns8390_module_init(void) |
52 | { | 52 | { |
53 | return 0; | 53 | return 0; |
54 | } | 54 | } |
55 | 55 | ||
56 | void cleanup_module(void) | 56 | static void __exit ns8390_module_exit(void) |
57 | { | 57 | { |
58 | } | 58 | } |
59 | 59 | ||
60 | module_init(ns8390_init_module); | ||
61 | module_exit(ns8390_module_exit); | ||
60 | #endif /* MODULE */ | 62 | #endif /* MODULE */ |
61 | MODULE_LICENSE("GPL"); | 63 | MODULE_LICENSE("GPL"); |