Skip to content

Commit

Permalink
sparc: ffb.c make ffb_init and ffb_exit static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Reif authored and David S. Miller committed Apr 27, 2008
1 parent 5443300 commit a2fb0ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/video/ffb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down Expand Up @@ -1062,15 +1061,15 @@ 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;

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);
}
Expand Down

0 comments on commit a2fb0ce

Please sign in to comment.