diff options
author | Robert Reif <reif@earthlink.net> | 2008-04-27 18:18:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-27 18:18:12 -0400 |
commit | f36861d550e6f1a1a7a851b88938f52bdaed7682 (patch) | |
tree | 3440645065b93a8d106204ac70bed4238cfb2dd9 /drivers/video | |
parent | a2fb0ce7aeae9c38146df9c2d9b763e5981a0683 (diff) |
sparc: tcx.c make tcx_init and tcx_exit static
Make tcx_init and tcx_exit static.
Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/tcx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index fd94dfbab44b..7dc33bfe2cb2 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
@@ -527,7 +527,7 @@ static struct of_platform_driver tcx_driver = { | |||
527 | .remove = __devexit_p(tcx_remove), | 527 | .remove = __devexit_p(tcx_remove), |
528 | }; | 528 | }; |
529 | 529 | ||
530 | int __init tcx_init(void) | 530 | static int __init tcx_init(void) |
531 | { | 531 | { |
532 | if (fb_get_options("tcxfb", NULL)) | 532 | if (fb_get_options("tcxfb", NULL)) |
533 | return -ENODEV; | 533 | return -ENODEV; |
@@ -535,7 +535,7 @@ int __init tcx_init(void) | |||
535 | return of_register_driver(&tcx_driver, &of_bus_type); | 535 | return of_register_driver(&tcx_driver, &of_bus_type); |
536 | } | 536 | } |
537 | 537 | ||
538 | void __exit tcx_exit(void) | 538 | static void __exit tcx_exit(void) |
539 | { | 539 | { |
540 | of_unregister_driver(&tcx_driver); | 540 | of_unregister_driver(&tcx_driver); |
541 | } | 541 | } |