forked from luck/tmp_suning_uos_patched
sparc: cg14.c make cg14_init and cg15_exit static
Make cg14_init and cg14_exit static. Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2556bf1212
commit
544330009b
@ -605,7 +605,7 @@ 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;
|
||||
@ -613,7 +613,7 @@ int __init cg14_init(void)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user