All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: sparclinux@vger.kernel.org
Subject: [PATCH] sparc: cg14.c make cg14_init and cg15_exit static
Date: Sun, 27 Apr 2008 14:35:32 +0000	[thread overview]
Message-ID: <48148F34.5060906@earthlink.net> (raw)

[-- 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);
 }

             reply	other threads:[~2008-04-27 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-27 14:35 Robert Reif [this message]
2008-04-27 22:22 ` [PATCH] sparc: cg14.c make cg14_init and cg15_exit static David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48148F34.5060906@earthlink.net \
    --to=reif@earthlink.net \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.