[PATCH 1/2] mmc: add card quirks support

Ohad Ben-Cohen
2009-08-26T01:03:35Z

From: Ohad Ben-Cohen <ohad@wizery.com>

A card quirks field is added to support non-standard
devices (e.g. embedded sdio devices).

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
---
include/linux/mmc/card.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index 403aa50..eac86fe 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -94,6 +94,7 @@ struct mmc_card {
#define MMC_STATE_READONLY (1<<1) /* card is read-only */
#define MMC_STATE_HIGHSPEED (1<<2) /* card is in high speed mode */
#define MMC_STATE_BLOCKADDR (1<<3) /* card uses block-addressing */
+ unsigned int quirks; /* card quirks */

u32 raw_cid[4]; /* raw card CID */
u32 raw_csd[4]; /* raw card CSD */
--
1.5.4.3