Skip to content

Commit

Permalink
sparc: cg14.c make cg14_init and cg15_exit static
Browse files Browse the repository at this point in the history
Make cg14_init and cg14_exit static.

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 2556bf1 commit 5443300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/cg14.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,15 +605,15 @@ 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;

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

0 comments on commit 5443300

Please sign in to comment.