Skip to contentSkip to conversation

sparc: cg14.c make cg14_init and cg15_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: cg14.c make cg14_init and cg15_exit static

Make cg14_init and cg14_exit static.

drivers/video/cg14.c +2 -2
index fdc9f43..359734e 100644
@@ -605,7 +605,7 @@ static struct of_platform_driver cg14_driver = {
 	.remove		= __devexit_p(cg14_remove),
 };
 
-int __init cg14_init(void)
+static int __init cg14_init(void)
 {
 	if (fb_get_options("cg14fb", NULL))
 		return -ENODEV;
@@ -613,7 +613,7 @@ int __init cg14_init(void)
 	return of_register_driver(&cg14_driver, &of_bus_type);
 }
 
-void __exit cg14_exit(void)
+static void __exit cg14_exit(void)
 {
 	of_unregister_driver(&cg14_driver);
 }