make hplance_{init,cleanup}_module() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 9 Jun 2008 22:23:32 +0000 (01:23 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 12 Jun 2008 01:58:32 +0000 (21:58 -0400)
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>
drivers/net/hplance.c

index be6e5bc7c88117cc9940f41dd5098ddd220adcad..2e802634d366540d8a54c7ad9633c408c22ac1d5 100644 (file)
@@ -220,12 +220,12 @@ static int hplance_close(struct net_device *dev)
         return 0;
 }
 
-int __init hplance_init_module(void)
+static int __init hplance_init_module(void)
 {
        return dio_register_driver(&hplance_driver);
 }
 
-void __exit hplance_cleanup_module(void)
+static void __exit hplance_cleanup_module(void)
 {
         dio_unregister_driver(&hplance_driver);
 }