diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-06-10 20:23:33 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-09-21 09:14:53 -0400 |
commit | 627df23c61ce28043a0715a941605ab42dfeb05e (patch) | |
tree | e9a21d68092f85d51db126d0ad907f89cb7aa276 /drivers/mtd/ftl.c | |
parent | fe002a419755f991e1219249c8ffe7dc0b798232 (diff) |
trivial: mtd: add __init/__exit macros to init/exitfunctions
Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions to the following modules from drivers/mtd/
devices/m25p80.c
devices/slram.c
linux version 2.6.30
ftl.c
nand/cafe_nand.c
nand/cmx270_nand.c
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/mtd/ftl.c')
-rw-r--r-- | drivers/mtd/ftl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index a790c062af1f..e56d6b42f020 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -1099,7 +1099,7 @@ static struct mtd_blktrans_ops ftl_tr = { | |||
1099 | .owner = THIS_MODULE, | 1099 | .owner = THIS_MODULE, |
1100 | }; | 1100 | }; |
1101 | 1101 | ||
1102 | static int init_ftl(void) | 1102 | static int __init init_ftl(void) |
1103 | { | 1103 | { |
1104 | return register_mtd_blktrans(&ftl_tr); | 1104 | return register_mtd_blktrans(&ftl_tr); |
1105 | } | 1105 | } |