]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc: cg14.c make cg14_init and cg15_exit static
authorRobert Reif <reif@earthlink.net>
Sun, 27 Apr 2008 22:17:23 +0000 (15:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2008 22:17:23 +0000 (15:17 -0700)
Make cg14_init and cg14_exit static.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/cg14.c

index fdc9f43ec30a73f5957cc118d91dc9711c870194..359734e9bc13b62bd2c691dce26f7b0a63a0792a 100644 (file)
@@ -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);
 }