summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2008-04-28 00:17:23 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-28 00:17:23 +0200
commit544330009bc5b879129593236aab29e458ec9fe4 (patch)
treeeeba8d3941fb4ac3ab98cc5fc639a06fbc8c6805 /drivers/video
parentsparc: bw2.c fix bw2_exit (diff)
downloadlinux-544330009bc5b879129593236aab29e458ec9fe4.tar.xz
linux-544330009bc5b879129593236aab29e458ec9fe4.zip
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/video')
-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 fdc9f43ec30a..359734e9bc13 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);
}