diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-09 18:23:32 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-11 21:58:32 -0400 |
commit | 0b1140782a68569b859b727de67eecf95a74ab44 (patch) | |
tree | c92b570ff4494afccde53d8f27c610c4fa578dcf /drivers/net/hplance.c | |
parent | 3cacd2a1ce5464b9874508927d561c0dfce74637 (diff) |
make hplance_{init,cleanup}_module() static
This patch makes the needlessly global hplance_{init,cleanup}_module()
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/hplance.c')
-rw-r--r-- | drivers/net/hplance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hplance.c b/drivers/net/hplance.c index be6e5bc7c881..2e802634d366 100644 --- a/drivers/net/hplance.c +++ b/drivers/net/hplance.c | |||
@@ -220,12 +220,12 @@ static int hplance_close(struct net_device *dev) | |||
220 | return 0; | 220 | return 0; |
221 | } | 221 | } |
222 | 222 | ||
223 | int __init hplance_init_module(void) | 223 | static int __init hplance_init_module(void) |
224 | { | 224 | { |
225 | return dio_register_driver(&hplance_driver); | 225 | return dio_register_driver(&hplance_driver); |
226 | } | 226 | } |
227 | 227 | ||
228 | void __exit hplance_cleanup_module(void) | 228 | static void __exit hplance_cleanup_module(void) |
229 | { | 229 | { |
230 | dio_unregister_driver(&hplance_driver); | 230 | dio_unregister_driver(&hplance_driver); |
231 | } | 231 | } |