Skip to contentSkip to conversation

sparc: tcx.c make tcx_init and tcx_exit static

PATCH Applied Robert Reif 2 participants 2 messages Apr 27, 2008 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: tcx.c make tcx_init and tcx_exit static

Make tcx_init and tcx_exit static.

drivers/video/tcx.c +2 -2
index e5a9ddb..7dc33bf 100644
@@ -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);
 }