diff options
author | Pierre Tardy <pierre.tardy@intel.com> | 2011-02-06 19:03:46 +0100 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2011-04-07 17:53:24 -0700 |
commit | 2c6f5267b56114e33fd61040bbbdc827e59458c4 (patch) | |
tree | dee88b94bdfa7f5713af3968895a1454e99c381d /include | |
parent | dd71a2478264c5b8297f94ed21c79efdcbd57228 (diff) |
mmc: add per device quirk placeholder
Some cards have quirks valid for every platforms using current
platform quirk hooks leads to a lot of code and debug duplication.
So we inspire a bit from what exists in PCI subsystem and do our own
per vendorid/deviceid quirk. We still drop the complexity of the pci
quirk system (with special section tables, and so on).
That can be added later if needed.
Change-Id: Ib67a3e97486023267f5ea3e7c6ef8fc99b13a704
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/card.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 6b7525099e56..30709f105b90 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -146,6 +146,8 @@ struct mmc_card { struct dentry *debugfs_root; }; +void mmc_fixup_device(struct mmc_card *dev); + #define mmc_card_mmc(c) ((c)->type == MMC_TYPE_MMC) #define mmc_card_sd(c) ((c)->type == MMC_TYPE_SD) #define mmc_card_sdio(c) ((c)->type == MMC_TYPE_SDIO) |