From d95cf2b44d7d20fceba90245b0d15ca943ab9cfc Mon Sep 17 00:00:00 2001 From: Luke Go Date: Thu, 24 Jan 2019 17:25:49 +0900 Subject: [PATCH] ODROID: android: mmc/block: Rename 'ignore' value to 'ignore_mpt'. - Rename the 'ignore' to 'ignore_mpt' because the name make some misunderstand. Change-Id: I82b0ae7e601725372651280bb679286c8adb9494 --- drivers/mmc/card/block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 7d06964fff18..12b948db85a2 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -3052,14 +3052,14 @@ static int mmc_validate_mpt_partition(struct mmc_card *card) } #if defined(CONFIG_ARCH_MESON64_ODROID_COMMON) -static bool mmc_is_ignored(struct mmc_host *host) +static bool mmc_is_ignore_mpt(struct mmc_host *host) { bool ignore = false; struct device_node *of_node = host->parent->of_node; struct device_node *child; for_each_child_of_node(of_node, child) { - if (of_property_read_bool(child, "ignore")) + if (of_property_read_bool(child, "ignore_mpt")) ignore = true; } @@ -3101,7 +3101,7 @@ static int mmc_blk_probe(struct mmc_card *card) #ifdef CONFIG_AMLOGIC_MMC if (mmc_validate_mpt_partition(card) == 0 && - !mmc_is_ignored(card->host)) { + !mmc_is_ignore_mpt(card->host)) { /* amlogic add emmc partitions ops */ aml_emmc_partition_ops(card, md->disk); }