mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
3cacd2a1ce
commit
0b1140782a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue