mmc: card: replace to CONFIG_TIZEN instead of 0 62/249762/1
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 16 Dec 2020 05:43:04 +0000 (14:43 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 16 Dec 2020 05:43:04 +0000 (14:43 +0900)
Replace to CONFIG_TIZEN instead of 0.

Change-Id: If131c42b517e01ef5171218aa29beaf3254400c7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/card/block.c

index 4bc2289..f1dba1d 100644 (file)
@@ -3017,7 +3017,7 @@ static const struct mmc_fixup blk_fixups[] =
        END_FIXUP
 };
 
-#if 0
+#ifndef CONFIG_TIZEN
 #ifdef CONFIG_AMLOGIC_MMC
 static int mmc_validate_mpt_partition(struct mmc_card *card)
 {
@@ -3049,7 +3049,7 @@ static int mmc_validate_mpt_partition(struct mmc_card *card)
        return ret;
 }
 #endif
-#endif
+#endif /* !CONFIG_TIZEN */
 
 static int mmc_blk_probe(struct mmc_card *card)
 {
@@ -3082,7 +3082,7 @@ static int mmc_blk_probe(struct mmc_card *card)
        if (mmc_add_disk(md))
                goto out;
 
-#if 0
+#ifndef CONFIG_TIZEN
        /*
         * It doesn't need to call emmc partition ops
         * When called this function, removed mbr partition.
@@ -3094,7 +3094,7 @@ static int mmc_blk_probe(struct mmc_card *card)
                aml_emmc_partition_ops(card, md->disk);
        }
 #endif
-#endif
+#endif /* !CONFIG_TIZEN */
 
        list_for_each_entry(part_md, &md->part, part) {
                if (mmc_add_disk(part_md))