summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/bus.c
diff options
context:
space:
mode:
authorJackey Shen <jackey.shen@amd.com>2013-05-17 13:17:43 +0400
committerChris Ball <cjb@laptop.org>2013-09-26 05:51:52 +0400
commit71ef1ea418ee45a4f939d53a02410627b394c336 (patch)
tree7a1088ef77634c237d4b5c14f66a1aad6a880012 /drivers/mmc/core/bus.c
parentfbd986cd420d1deeabf1039ec4e74075a5639db5 (diff)
downloadlinux-71ef1ea418ee45a4f939d53a02410627b394c336.tar.xz
mmc: core: clean up duplicate macros
Clean up the duplicate macros: mmc_sd_card_uhs -> mmc_card_uhs mmc_sd_card_set_uhs -> mmc_card_set_uhs Signed-off-by: Jackey Shen <jackey.shen@amd.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/bus.c')
-rw-r--r--drivers/mmc/core/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
index 704bf66f5873..cdca8a70da38 100644
--- a/drivers/mmc/core/bus.c
+++ b/drivers/mmc/core/bus.c
@@ -340,7 +340,7 @@ int mmc_add_card(struct mmc_card *card)
break;
}
- if (mmc_sd_card_uhs(card) &&
+ if (mmc_card_uhs(card) &&
(card->sd_bus_speed < ARRAY_SIZE(uhs_speeds)))
uhs_bus_speed_mode = uhs_speeds[card->sd_bus_speed];