diff options
author | Robert Reif <reif@earthlink.net> | 2008-04-28 00:17:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-28 00:17:49 +0200 |
commit | a2fb0ce7aeae9c38146df9c2d9b763e5981a0683 (patch) | |
tree | 017668f1992d80e413a5c026d99613b583d69131 /drivers/video/ffb.c | |
parent | sparc: cg14.c make cg14_init and cg15_exit static (diff) | |
download | linux-a2fb0ce7aeae9c38146df9c2d9b763e5981a0683.tar.xz linux-a2fb0ce7aeae9c38146df9c2d9b763e5981a0683.zip |
sparc: ffb.c make ffb_init and ffb_exit static
Make ffb_init and ffb_exit static.
Remove unnecessary function prototype.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/ffb.c')
-rw-r--r-- | drivers/video/ffb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index d7e24889650e..02a61147799a 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c @@ -32,7 +32,6 @@ static int ffb_setcolreg(unsigned, unsigned, unsigned, unsigned, unsigned, struct fb_info *); static int ffb_blank(int, struct fb_info *); -static void ffb_init_fix(struct fb_info *); static void ffb_imageblit(struct fb_info *, const struct fb_image *); static void ffb_fillrect(struct fb_info *, const struct fb_fillrect *); @@ -1062,7 +1061,7 @@ static struct of_platform_driver ffb_driver = { .remove = __devexit_p(ffb_remove), }; -int __init ffb_init(void) +static int __init ffb_init(void) { if (fb_get_options("ffb", NULL)) return -ENODEV; @@ -1070,7 +1069,7 @@ int __init ffb_init(void) return of_register_driver(&ffb_driver, &of_bus_type); } -void __exit ffb_exit(void) +static void __exit ffb_exit(void) { of_unregister_driver(&ffb_driver); } |