diff options
author | Mateusz Mandera <ormi.linux@gmail.com> | 2009-04-22 05:24:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-22 05:24:28 -0400 |
commit | 362b76edb78923face033e18e4ffc85df8db0f28 (patch) | |
tree | f86291eaa418b22d227bfbf9d51e38e0ad3050cd /drivers/net | |
parent | 4cb9be7ab47820a1fa747569f5f035a5f628c91b (diff) |
8390p: Get rid of init_module/cleanup_module
This trivial patch just "gets rid of" init_module and cleanup_module
from drivers/net/8390p.c
Signed-off-by: Mateusz Mandera <ormi.linux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/8390p.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/8390p.c b/drivers/net/8390p.c index 6ec11dafdb18..cacdd86a27d0 100644 --- a/drivers/net/8390p.c +++ b/drivers/net/8390p.c | |||
@@ -91,16 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp) | |||
91 | } | 91 | } |
92 | EXPORT_SYMBOL(NS8390p_init); | 92 | EXPORT_SYMBOL(NS8390p_init); |
93 | 93 | ||
94 | #if defined(MODULE) | 94 | static int __init 8390p_init_module(void) |
95 | |||
96 | int init_module(void) | ||
97 | { | 95 | { |
98 | return 0; | 96 | return 0; |
99 | } | 97 | } |
100 | 98 | ||
101 | void cleanup_module(void) | 99 | static void __exit 8390p_cleanup_module(void) |
102 | { | 100 | { |
103 | } | 101 | } |
104 | 102 | ||
105 | #endif /* MODULE */ | 103 | module_init(8390p_init_module); |
104 | module_exit(8390p_cleanup_module); | ||
106 | MODULE_LICENSE("GPL"); | 105 | MODULE_LICENSE("GPL"); |