* [PATCH] sparc: tcx.c make tcx_init and tcx_exit static
@ 2008-04-27 14:40 Robert Reif
2008-04-27 22:22 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-04-27 14:40 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
Make tcx_init and tcx_exit static.
Signed-off-by: Robert Reif <reif@earthlink.net>
[-- Attachment #2: tcx.diff.txt --]
[-- Type: text/plain, Size: 582 bytes --]
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c
index e5a9ddb..7dc33bf 100644
--- a/drivers/video/tcx.c
+++ b/drivers/video/tcx.c
@@ -527,7 +527,7 @@ static struct of_platform_driver tcx_driver = {
.remove = __devexit_p(tcx_remove),
};
-int __init tcx_init(void)
+static int __init tcx_init(void)
{
if (fb_get_options("tcxfb", NULL))
return -ENODEV;
@@ -535,7 +535,7 @@ int __init tcx_init(void)
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);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sparc: tcx.c make tcx_init and tcx_exit static
2008-04-27 14:40 [PATCH] sparc: tcx.c make tcx_init and tcx_exit static Robert Reif
@ 2008-04-27 22:22 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-04-27 22:22 UTC (permalink / raw)
To: sparclinux
From: Robert Reif <reif@earthlink.net>
Date: Sun, 27 Apr 2008 10:40:02 -0400
> Make tcx_init and tcx_exit static.
>
> Signed-off-by: Robert Reif <reif@earthlink.net>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-27 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-27 14:40 [PATCH] sparc: tcx.c make tcx_init and tcx_exit static Robert Reif
2008-04-27 22:22 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.