ARM: Add 'card_present' state to mmc_platfrom_data
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 3 May 2011 18:05:04 +0000 (11:05 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:10 +0000 (13:51 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
arch/arm/include/asm/mach/mmc.h

index f8d391ad92037085457ddfdfdb832232bb0cb28c..bca864ac945f60c20a41fa7b888d64244d6fd213 100644 (file)
@@ -18,6 +18,7 @@ struct embedded_sdio_data {
 struct mmc_platform_data {
        unsigned int ocr_mask;                  /* available voltages */
        int built_in;                           /* built-in device flag */
+       int card_present;                       /* card detect state */
        u32 (*translate_vdd)(struct device *, unsigned int);
        unsigned int (*status)(struct device *);
        struct embedded_sdio_data *embedded_sdio;