* [PATCH] sparc: ffb.c make ffb_init and ffb_exit static
@ 2008-04-27 14:38 Robert Reif
2008-04-27 22:22 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-04-27 14:38 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
Make ffb_init and ffb_exit static.
Remove unnecessary function prototype.
Signed-off-by: Robert Reif <reif@earthlink.net>
[-- Attachment #2: ffb.diff.txt --]
[-- Type: text/plain, Size: 939 bytes --]
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c
index d7e2488..02a6114 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);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-27 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-27 14:38 [PATCH] sparc: ffb.c make ffb_init and ffb_exit static Robert Reif
2008-04-27 22:22 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.