From 76d69e09a40cf4b7866a6582092fad7cd6bec3c3 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Wed, 16 Dec 2020 14:43:04 +0900 Subject: [PATCH] mmc: card: replace to CONFIG_TIZEN instead of 0 Replace to CONFIG_TIZEN instead of 0. Change-Id: If131c42b517e01ef5171218aa29beaf3254400c7 Signed-off-by: Jaehoon Chung --- drivers/mmc/card/block.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 4bc22896..f1dba1d 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -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)) -- 2.7.4