Skip to content

Commit 0b11407

Browse files
AdrianBunkJeff Garzik
authored andcommitted
make hplance_{init,cleanup}_module() static
This patch makes the needlessly global hplance_{init,cleanup}_module() static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
1 parent 3cacd2a commit 0b11407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/hplance.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ static int hplance_close(struct net_device *dev)
220220
return 0;
221221
}
222222

223-
int __init hplance_init_module(void)
223+
static int __init hplance_init_module(void)
224224
{
225225
return dio_register_driver(&hplance_driver);
226226
}
227227

228-
void __exit hplance_cleanup_module(void)
228+
static void __exit hplance_cleanup_module(void)
229229
{
230230
dio_unregister_driver(&hplance_driver);
231231
}

0 commit comments

Comments
 (0)