From: Adrian Bunk Date: Mon, 9 Jun 2008 22:23:32 +0000 (+0300) Subject: make hplance_{init,cleanup}_module() static X-Git-Tag: v2.6.27-rc1~964^2~329^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b1140782a68569b859b727de67eecf95a74ab44;p=profile%2Fivi%2Fkernel-x86-ivi.git make hplance_{init,cleanup}_module() static This patch makes the needlessly global hplance_{init,cleanup}_module() static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/hplance.c b/drivers/net/hplance.c index be6e5bc..2e80263 100644 --- a/drivers/net/hplance.c +++ b/drivers/net/hplance.c @@ -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); }