sparc: tcx.c make tcx_init and tcx_exit static
authorRobert Reif <reif@earthlink.net>
Sun, 27 Apr 2008 22:18:12 +0000 (15:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2008 22:18:12 +0000 (15:18 -0700)
Make tcx_init and tcx_exit static.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/tcx.c

index fd94dfbab44bdbf65505bd93c841a08017f85981..7dc33bfe2cb2b4167a5f4dd2006f9573e6008818 100644 (file)
@@ -527,7 +527,7 @@ 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;
@@ -535,7 +535,7 @@ int __init tcx_init(void)
        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);
 }