[<prev] [next>] [day] [month] [year] [list]
Message-ID: <492411ac.0c486e0a.3215.0294@mx.google.com>
Date: Wed, 19 Nov 2008 21:16:22 +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 2/4] drivers/mtd/nand/cmx270_nand.c: mark {__init|__exit} for
{init|exit} functions
Signed-off-by: Qinghuang Feng <qhfeng.kernel@...il.com>
---
diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c
index fa129c0..c429ea2 100644
--- a/drivers/mtd/nand/cmx270_nand.c
+++ b/drivers/mtd/nand/cmx270_nand.c
@@ -148,7 +148,7 @@ static int cmx270_device_ready(struct mtd_info *mtd)
/*
* Main initialization routine
*/
-static int cmx270_init(void)
+static int __init cmx270_init(void)
{
struct nand_chip *this;
const char *part_type;
@@ -262,7 +262,7 @@ module_init(cmx270_init);
/*
* Clean up routine
*/
-static void cmx270_cleanup(void)
+static void __exit cmx270_cleanup(void)
{
/* Release resources, unregister device */
nand_release(cmx270_nand_mtd);
--
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