From patchwork Wed Nov 19 13:16:27 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] drivers/mtd/devices/m25p80.c: mark {__init|__exit} for {init|exit} functions From: Qinghuang Feng X-Patchwork-Id: 9583 Message-Id: <492411b2.02066e0a.135c.4dde@mx.google.com> To: David Woodhouse Cc: Mike, linux-kernel@vger.kernel.org, David, linux-mtd@lists.infradead.org, Mike Lavender , Rapoport , Hinds Date: Wed, 19 Nov 2008 21:16:27 +0800 Signed-off-by: Qinghuang Feng --- 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); }