public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 3/4] drivers/mtd/devices/m25p80.c: mark {__init|__exit} for {init|exit} functions
@ 2008-11-19 13:16 Qinghuang Feng
  0 siblings, 0 replies; only message in thread
From: Qinghuang Feng @ 2008-11-19 13:16 UTC (permalink / raw)
  To: David Woodhouse
  Cc: Mike, linux-kernel, David, linux-mtd, Mike Lavender, Rapoport,
	Hinds

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-19 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 13:16 [PATCH 3/4] drivers/mtd/devices/m25p80.c: mark {__init|__exit} for {init|exit} functions Qinghuang Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox