[PATCH 4/4] drivers/mtd/ftl.c: mark {__init|__exit} for {init|exit} functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Qinghuang Feng
Date: Wednesday, November 19, 2008 - 6:16 am

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c
index 9bf581c..c3bbf38 100644
--- a/drivers/mtd/ftl.c
+++ b/drivers/mtd/ftl.c
@@ -1099,7 +1099,7 @@ static struct mtd_blktrans_ops ftl_tr = {
 	.owner		= THIS_MODULE,
 };
 
-static int init_ftl(void)
+static int __init init_ftl(void)
 {
 	return register_mtd_blktrans(&ftl_tr);
 }

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/4] drivers/mtd/ftl.c: mark {__init|__exit} for {i ..., Qinghuang Feng, (Wed Nov 19, 6:16 am)