Commit a2fb0ce7 authored by Robert Reif's avatar Robert Reif Committed by David S. Miller

sparc: ffb.c make ffb_init and ffb_exit static

Make ffb_init and ffb_exit static.
Remove unnecessary function prototype.
Signed-off-by: default avatarRobert Reif <reif@earthlink.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54433000
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
static int ffb_setcolreg(unsigned, unsigned, unsigned, unsigned, static int ffb_setcolreg(unsigned, unsigned, unsigned, unsigned,
unsigned, struct fb_info *); unsigned, struct fb_info *);
static int ffb_blank(int, 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_imageblit(struct fb_info *, const struct fb_image *);
static void ffb_fillrect(struct fb_info *, const struct fb_fillrect *); static void ffb_fillrect(struct fb_info *, const struct fb_fillrect *);
...@@ -1062,7 +1061,7 @@ static struct of_platform_driver ffb_driver = { ...@@ -1062,7 +1061,7 @@ static struct of_platform_driver ffb_driver = {
.remove = __devexit_p(ffb_remove), .remove = __devexit_p(ffb_remove),
}; };
int __init ffb_init(void) static int __init ffb_init(void)
{ {
if (fb_get_options("ffb", NULL)) if (fb_get_options("ffb", NULL))
return -ENODEV; return -ENODEV;
...@@ -1070,7 +1069,7 @@ int __init ffb_init(void) ...@@ -1070,7 +1069,7 @@ int __init ffb_init(void)
return of_register_driver(&ffb_driver, &of_bus_type); 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); of_unregister_driver(&ffb_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment