drivers/mtd/nand/cmx270_nand.c: mark {__init|__exit} for {init|exit} functions
Subsystems (2)
PATCH 2/4 drivers/mtd/nand/cmx270_nand.c: mark {__init|__exit} for {init|exit} functions
Signed-off-by Qinghuang Feng <[email protected]>
---
drivers/mtd/nand/cmx270_nand.c +2 -2
@@ -148,7 +148,7 @@ static int cmx270_device_ready(struct mtd_info *mtd)/* * Main initialization routine */ -static int cmx270_init (void ) +static int __init cmx270_init (void ) {struct nand_chip *this;const char *part_type;
@@ -262,7 +262,7 @@ module_init(cmx270_init);/* * Clean up routine */ -static void cmx270_cleanup (void ) +static void __exit cmx270_cleanup(void) {/* Release resources, unregister device */ nand_release (cmx270_nand_mtd);