[PATCH] sparc: tcx.c make tcx_init and tcx_exit static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make tcx_init and tcx_exit static.

Signed-off-by: Robert Reif <reif@xxxxxxxxxxxxx>

diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c
index e5a9ddb..7dc33bf 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);
 }

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux