trivial: mtd: add __init/__exit macros to init/exitfunctions
[linux-2.6-block.git] / drivers / mtd / nand / cmx270_nand.c
index 10081e656a6f11d63d76e99544e98e0a5dfd7249..826cacffcefc81b94229bcb77334603839b3460c 100644 (file)
@@ -147,7 +147,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;
@@ -261,7 +261,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);