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>
This commit is contained in:
parent
0e9cfcf44e
commit
8c7cdbf927
2 changed files with 2 additions and 2 deletions
|
@ -2113,7 +2113,7 @@ static int mmc_blk_probe(struct mmc_card *card)
|
||||||
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
|
if (!(card->csd.cmdclass & CCC_BLOCK_READ))
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
mmc_fixup_device(card, blk_fixups);
|
mmc_fixup_device(card, mmc_blk_fixups);
|
||||||
|
|
||||||
md = mmc_blk_alloc(card);
|
md = mmc_blk_alloc(card);
|
||||||
if (IS_ERR(md))
|
if (IS_ERR(md))
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "card.h"
|
#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_EXT_CSD 113
|
||||||
#define INAND_CMD38_ARG_ERASE 0x00
|
#define INAND_CMD38_ARG_ERASE 0x00
|
||||||
#define INAND_CMD38_ARG_TRIM 0x01
|
#define INAND_CMD38_ARG_TRIM 0x01
|
||||||
|
|
Loading…
Reference in a new issue