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

login
register
mail settings
Submitter Qinghuang Feng
Date Nov. 19, 2008, 1:16 p.m.
Message ID <492411b7.0c636e0a.1c92.ffffe107@mx.google.com>
Download mbox | patch
Permalink /patch/9586/
State New, archived
Headers show

Comments

Qinghuang Feng - Nov. 19, 2008, 1:16 p.m.
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---

Patch

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);
 }