1 #ifndef __MMC_MSM_SDCC_H 2 #define __MMC_MSM_SDCC_H 3 4 #include <linux/mmc/host.h> 5 #include <linux/mmc/card.h> 6 #include <linux/mmc/sdio_func.h> 7 8 struct msm_mmc_gpio { 9 unsigned no; 10 const char *name; 11 }; 12 13 struct msm_mmc_gpio_data { 14 struct msm_mmc_gpio *gpio; 15 u8 size; 16 }; 17 18 struct msm_mmc_platform_data { 19 unsigned int ocr_mask; /* available voltages */ 20 u32 (*translate_vdd)(struct device *, unsigned int); 21 unsigned int (*status)(struct device *); 22 int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); 23 struct msm_mmc_gpio_data *gpio_data; 24 void (*init_card)(struct mmc_card *card); 25 }; 26 27 #endif 28