aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-27 18:18:12 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-27 18:18:12 -0400
commitf36861d550e6f1a1a7a851b88938f52bdaed7682 (patch)
tree3440645065b93a8d106204ac70bed4238cfb2dd9 /drivers/video
parenta2fb0ce7aeae9c38146df9c2d9b763e5981a0683 (diff)
sparc: tcx.c make tcx_init and tcx_exit static
Make tcx_init and tcx_exit static. Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tcx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c
index fd94dfbab44b..7dc33bfe2cb2 100644
--- a/drivers/video/tcx.c
+++ b/drivers/video/tcx.c
@@ -527,7 +527,7 @@ static struct of_platform_driver tcx_driver = {
527 .remove = __devexit_p(tcx_remove), 527 .remove = __devexit_p(tcx_remove),
528}; 528};
529 529
530int __init tcx_init(void) 530static int __init tcx_init(void)
531{ 531{
532 if (fb_get_options("tcxfb", NULL)) 532 if (fb_get_options("tcxfb", NULL))
533 return -ENODEV; 533 return -ENODEV;
@@ -535,7 +535,7 @@ int __init tcx_init(void)
535 return of_register_driver(&tcx_driver, &of_bus_type); 535 return of_register_driver(&tcx_driver, &of_bus_type);
536} 536}
537 537
538void __exit tcx_exit(void) 538static void __exit tcx_exit(void)
539{ 539{
540 of_unregister_driver(&tcx_driver); 540 of_unregister_driver(&tcx_driver);
541} 541}