From 6f60c22252af05df94352240f30f9fc84090d88d Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Mon, 11 Apr 2011 19:11:04 -0400 Subject: mmc: quirks: Support for block quirks. Block quirks implemented using core/quirks.c support. Signed-off-by: Andrei Warkentin Signed-off-by: Chris Ball --- drivers/mmc/card/block.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/mmc/card') diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 1e6bd910e79e..288d27394ef9 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -939,6 +939,11 @@ static int mmc_add_disk(struct mmc_blk_data *md) return ret; } +static const struct mmc_fixup blk_fixups[] = +{ + END_FIXUP +}; + static int mmc_blk_probe(struct mmc_card *card) { struct mmc_blk_data *md, *part_md; @@ -969,6 +974,8 @@ static int mmc_blk_probe(struct mmc_card *card) goto out; mmc_set_drvdata(card, md); + mmc_fixup_device(card, blk_fixups); + if (mmc_add_disk(md)) goto out; -- cgit v1.2.3