mmc: core: add mmc prefix for blk_fixups
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 15 Feb 2017 08:36:47 +0000 (16:36 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 15 Feb 2017 10:34:27 +0000 (11:34 +0100)
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>
drivers/mmc/core/block.c
drivers/mmc/core/quirks.h

index 5bf1fba393497c916628eb9a2496241871672308..1621fa08e2069298f6a8438c8babdf11ae4a817c 100644 (file)
@@ -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))
index 7c195e744b33331dffb91cedcb85dd185deded3f..fb725934fa21cee1b98fd7bc08227bf6d0317549 100644 (file)
@@ -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