[<prev] [next>] [day] [month] [year] [list]
Message-ID: <492411b2.02066e0a.135c.4dde@mx.google.com>
Date: Wed, 19 Nov 2008 21:16:27 +0800
From: Qinghuang Feng <qhfeng.kernel@...il.com>
To: David Woodhouse <dwmw2@...radead.org>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Mike Rapoport <mike@...pulab.co.il>,
Mike Lavender <mike@...roidmicros.com>,
David Hinds <dahinds@...rs.sourceforge.net>
Subject: [PATCH 3/4] drivers/mtd/devices/m25p80.c: mark {__init|__exit} for
{init|exit} functions
Signed-off-by: Qinghuang Feng <qhfeng.kernel@...il.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);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists