aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-02-15 03:36:47 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-15 05:34:27 -0500
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)
2113 if (!(card->csd.cmdclass & CCC_BLOCK_READ)) 2113 if (!(card->csd.cmdclass & CCC_BLOCK_READ))
2114 return -ENODEV; 2114 return -ENODEV;
2115 2115
2116 mmc_fixup_device(card, blk_fixups); 2116 mmc_fixup_device(card, mmc_blk_fixups);
2117 2117
2118 md = mmc_blk_alloc(card); 2118 md = mmc_blk_alloc(card);
2119 if (IS_ERR(md)) 2119 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 @@
13 13
14#include "card.h" 14#include "card.h"
15 15
16static const struct mmc_fixup blk_fixups[] = { 16static const struct mmc_fixup mmc_blk_fixups[] = {
17#define INAND_CMD38_ARG_EXT_CSD 113 17#define INAND_CMD38_ARG_EXT_CSD 113
18#define INAND_CMD38_ARG_ERASE 0x00 18#define INAND_CMD38_ARG_ERASE 0x00
19#define INAND_CMD38_ARG_TRIM 0x01 19#define INAND_CMD38_ARG_TRIM 0x01