summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-27 15:17:23 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-27 15:17:23 -0700
commit544330009bc5b879129593236aab29e458ec9fe4 (patch)
treeeeba8d3941fb4ac3ab98cc5fc639a06fbc8c6805 /drivers
parent2556bf1212c768f567401257582681aa117af4a9 (diff)
sparc: cg14.c make cg14_init and cg15_exit static
Make cg14_init and cg14_exit static. Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/cg14.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c
index fdc9f43ec30..359734e9bc1 100644
--- a/drivers/video/cg14.c
+++ b/drivers/video/cg14.c
@@ -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);
}