aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Lin2017-02-15 16:36:47 +0800
committerUlf Hansson2017-02-15 11:34:27 +0100
commit8c7cdbf9272c300dc093da3c62fa3b4bc6dc960e (patch)
tree40ca537d14e2a8ab2d307456a28cb5189aee9c5f
parent0e9cfcf44e4aced8d45f409dcb48a0994fa77979 (diff)
mmc: core: add mmc prefix for blk_fixups
That makes all the quirks table look more consistent. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/core/block.c2
-rw-r--r--drivers/mmc/core/quirks.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c
index 5bf1fba39349..1621fa08e206 100644
--- a/drivers/mmc/core/block.c
+++ b/drivers/mmc/core/block.c
@@ -2113,7 +2113,7 @@ static int mmc_blk_probe(struct mmc_card *card)
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
return -ENODEV;
- mmc_fixup_device(card, blk_fixups);
+ mmc_fixup_device(card, mmc_blk_fixups);
md = mmc_blk_alloc(card);
if (IS_ERR(md))
diff --git a/drivers/mmc/core/quirks.h b/drivers/mmc/core/quirks.h
index 7c195e744b33..fb725934fa21 100644
--- a/drivers/mmc/core/quirks.h
+++ b/drivers/mmc/core/quirks.h
@@ -13,7 +13,7 @@
#include "card.h"
-static const struct mmc_fixup blk_fixups[] = {
+static const struct mmc_fixup mmc_blk_fixups[] = {
#define INAND_CMD38_ARG_EXT_CSD 113
#define INAND_CMD38_ARG_ERASE 0x00
#define INAND_CMD38_ARG_TRIM 0x01