All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: cg14.c make cg14_init and cg15_exit static
@ 2008-04-27 14:35 Robert Reif
  2008-04-27 22:22 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-04-27 14:35 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Make cg14_init and cg14_exit static.

Signed-off-by: Robert Reif <reif@earthlink.net>

[-- Attachment #2: cg14.diff.txt --]
[-- Type: text/plain, Size: 596 bytes --]

diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c
index fdc9f43..359734e 100644
--- a/drivers/video/cg14.c
+++ b/drivers/video/cg14.c
@@ -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);
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sparc: cg14.c make cg14_init and cg15_exit static
  2008-04-27 14:35 [PATCH] sparc: cg14.c make cg14_init and cg15_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:35:32 -0400

> Make cg14_init and cg14_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:35 [PATCH] sparc: cg14.c make cg14_init and cg15_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.