提交 0b114078 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

make hplance_{init,cleanup}_module() static

This patch makes the needlessly global hplance_{init,cleanup}_module()
static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 3cacd2a1
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册