Skip to content

Commit

Permalink
sparc: tcx.c make tcx_init and tcx_exit static
Browse files Browse the repository at this point in the history
Make tcx_init and tcx_exit static.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Robert Reif authored and David S. Miller committed Apr 27, 2008
1 parent a2fb0ce commit f36861d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/tcx.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,15 +527,15 @@ static struct of_platform_driver tcx_driver = {
.remove = __devexit_p(tcx_remove),
};

int __init tcx_init(void)
static int __init tcx_init(void)
{
if (fb_get_options("tcxfb", NULL))
return -ENODEV;

return of_register_driver(&tcx_driver, &of_bus_type);
}

void __exit tcx_exit(void)
static void __exit tcx_exit(void)
{
of_unregister_driver(&tcx_driver);
}
Expand Down

0 comments on commit f36861d

Please sign in to comment.