summaryrefslogtreecommitdiffstats
path: root/drivers/video/tcx.c
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-28 00:18:12 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-28 00:18:12 +0200
commitf36861d550e6f1a1a7a851b88938f52bdaed7682 (patch)
tree3440645065b93a8d106204ac70bed4238cfb2dd9 /drivers/video/tcx.c
parentsparc: ffb.c make ffb_init and ffb_exit static (diff)
downloadlinux-f36861d550e6f1a1a7a851b88938f52bdaed7682.tar.xz
linux-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>
Diffstat (limited to 'drivers/video/tcx.c')
-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 = {
.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);
}