diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/platform_data/mmc-msm_sdcc.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/platform_data/mmc-msm_sdcc.h')
| -rw-r--r-- | include/linux/platform_data/mmc-msm_sdcc.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-msm_sdcc.h b/include/linux/platform_data/mmc-msm_sdcc.h new file mode 100644 index 000000000000..ffcd9e3a6a7e --- /dev/null +++ b/include/linux/platform_data/mmc-msm_sdcc.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* | ||
| 2 | * arch/arm/include/asm/mach/mmc.h | ||
| 3 | */ | ||
| 4 | #ifndef ASMARM_MACH_MMC_H | ||
| 5 | #define ASMARM_MACH_MMC_H | ||
| 6 | |||
| 7 | #include <linux/mmc/host.h> | ||
| 8 | #include <linux/mmc/card.h> | ||
| 9 | #include <linux/mmc/sdio_func.h> | ||
| 10 | |||
| 11 | struct msm_mmc_gpio { | ||
| 12 | unsigned no; | ||
| 13 | const char *name; | ||
| 14 | }; | ||
| 15 | |||
| 16 | struct msm_mmc_gpio_data { | ||
| 17 | struct msm_mmc_gpio *gpio; | ||
| 18 | u8 size; | ||
| 19 | }; | ||
| 20 | |||
| 21 | struct msm_mmc_platform_data { | ||
| 22 | unsigned int ocr_mask; /* available voltages */ | ||
| 23 | u32 (*translate_vdd)(struct device *, unsigned int); | ||
| 24 | unsigned int (*status)(struct device *); | ||
| 25 | int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); | ||
| 26 | struct msm_mmc_gpio_data *gpio_data; | ||
| 27 | void (*init_card)(struct mmc_card *card); | ||
| 28 | }; | ||
| 29 | |||
| 30 | #endif | ||
