summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-27 15:18:12 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-27 15:18:12 -0700
commitf36861d550e6f1a1a7a851b88938f52bdaed7682 (patch)
tree3440645065b93a8d106204ac70bed4238cfb2dd9
parenta2fb0ce7aeae9c38146df9c2d9b763e5981a0683 (diff)
downloadlinux-3.10-f36861d550e6f1a1a7a851b88938f52bdaed7682.tar.gz
linux-3.10-f36861d550e6f1a1a7a851b88938f52bdaed7682.tar.bz2
linux-3.10-f36861d550e6f1a1a7a851b88938f52bdaed7682.zip
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>
-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 fd94dfbab44..7dc33bfe2cb 100644
--- a/drivers/video/tcx.c
+++ b/drivers/video/tcx.c
@@ -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);
}