2008-11-19 13:17:41

by Qinghuang Feng

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

Signed-off-by: Qinghuang Feng <[email protected]>
---
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);
}