[PATCH 4/4] drivers/mtd/ftl.c: mark {__init|__exit} for {init|exit} functions
Qinghuang Feng
qhfeng.kernel at gmail.com
Wed Nov 19 08:16:33 EST 2008
Signed-off-by: Qinghuang Feng <qhfeng.kernel at 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);
}
More information about the linux-mtd
mailing list