diff options
author | Andrei Warkentin <andreiw@motorola.com> | 2011-03-09 15:35:04 -0600 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2011-04-07 17:53:29 -0700 |
commit | fef5a9d0a2b9ac3396f3dc0fccf8800ae39540d8 (patch) | |
tree | 285d74889804334ced4fa500348e72f53e65efe9 /drivers/mmc | |
parent | 6345772d1ba598eb9cabf4e7cb700209e4ec6869 (diff) |
MMC: Support for block quirks.
Block quirks implemented using core/quirks.c support.
Change-Id: I81d9ad57a7ae95c60ee8026f090c8df7c75fd069
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/card/block.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 7054fd5863a0..913f3949b360 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -686,6 +686,11 @@ mmc_blk_set_blksize(struct mmc_blk_data *md, struct mmc_card *card) return 0; } +static const struct mmc_fixup blk_fixups[] = +{ + END_FIXUP +}; + static int mmc_blk_probe(struct mmc_card *card) { struct mmc_blk_data *md; @@ -714,6 +719,8 @@ static int mmc_blk_probe(struct mmc_card *card) cap_str, md->read_only ? "(ro)" : ""); mmc_set_drvdata(card, md); + mmc_fixup_device(card, blk_fixups); + #ifdef CONFIG_MMC_BLOCK_DEFERRED_RESUME mmc_set_bus_resume_policy(card->host, 1); #endif |