提交 f36861d5 编写于 作者: R Robert Reif 提交者: David S. Miller

sparc: tcx.c make tcx_init and tcx_exit static

Make tcx_init and tcx_exit static.
Signed-off-by: NRobert Reif <reif@earthlink.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a2fb0ce7
...@@ -527,7 +527,7 @@ static struct of_platform_driver tcx_driver = { ...@@ -527,7 +527,7 @@ static struct of_platform_driver tcx_driver = {
.remove = __devexit_p(tcx_remove), .remove = __devexit_p(tcx_remove),
}; };
int __init tcx_init(void) static int __init tcx_init(void)
{ {
if (fb_get_options("tcxfb", NULL)) if (fb_get_options("tcxfb", NULL))
return -ENODEV; return -ENODEV;
...@@ -535,7 +535,7 @@ int __init tcx_init(void) ...@@ -535,7 +535,7 @@ int __init tcx_init(void)
return of_register_driver(&tcx_driver, &of_bus_type); return of_register_driver(&tcx_driver, &of_bus_type);
} }
void __exit tcx_exit(void) static void __exit tcx_exit(void)
{ {
of_unregister_driver(&tcx_driver); of_unregister_driver(&tcx_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册