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/nand/cafe_nand.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/nand/cafe_nand.c')
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 29acd06b1c39..1b4690bdfdb3 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -903,12 +903,12 @@ static struct pci_driver cafe_nand_pci_driver = { | |||
903 | .resume = cafe_nand_resume, | 903 | .resume = cafe_nand_resume, |
904 | }; | 904 | }; |
905 | 905 | ||
906 | static int cafe_nand_init(void) | 906 | static int __init cafe_nand_init(void) |
907 | { | 907 | { |
908 | return pci_register_driver(&cafe_nand_pci_driver); | 908 | return pci_register_driver(&cafe_nand_pci_driver); |
909 | } | 909 | } |
910 | 910 | ||
911 | static void cafe_nand_exit(void) | 911 | static void __exit cafe_nand_exit(void) |
912 | { | 912 | { |
913 | pci_unregister_driver(&cafe_nand_pci_driver); | 913 | pci_unregister_driver(&cafe_nand_pci_driver); |
914 | } | 914 | } |