public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Qinghuang Feng <qhfeng.kernel@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Mike, linux-kernel@vger.kernel.org, David,
	linux-mtd@lists.infradead.org,
	Mike Lavender <mike@steroidmicros.com>,
	Rapoport <mike@compulab.co.il>,
	Hinds <dahinds@users.sourceforge.net>
Subject: [PATCH 3/4] drivers/mtd/devices/m25p80.c: mark {__init|__exit} for {init|exit} functions
Date: Wed, 19 Nov 2008 21:16:27 +0800	[thread overview]
Message-ID: <492411b2.02066e0a.135c.4dde@mx.google.com> (raw)

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 76a7675..ff6a80e 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -768,13 +768,13 @@ static struct spi_driver m25p80_driver = {
 };
 
 
-static int m25p80_init(void)
+static int __init m25p80_init(void)
 {
 	return spi_register_driver(&m25p80_driver);
 }
 
 
-static void m25p80_exit(void)
+static void __exit m25p80_exit(void)
 {
 	spi_unregister_driver(&m25p80_driver);
 }

                 reply	other threads:[~2008-11-19 13:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=492411b2.02066e0a.135c.4dde@mx.google.com \
    --to=qhfeng.kernel@gmail.com \
    --cc=dahinds@users.sourceforge.net \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mike@compulab.co.il \
    --cc=mike@steroidmicros.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox