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)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:37:06 +0000 (15:37 -0500)
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>
(cherry picked from commit 8c7cdbf9272c300dc093da3c62fa3b4bc6dc960e)

drivers/mmc/core/block.c
drivers/mmc/core/quirks.h

index 62f26d3..f73b6b5 100644 (file)
@@ -2141,7 +2141,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 7c195e7..fb72593 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