Skip to content

Commit

Permalink
make hplance_{init,cleanup}_module() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jun 12, 2008
1 parent 3cacd2a commit 0b11407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/hplance.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0b11407

Please sign in to comment.