2 * arch/arm/include/asm/mach/mmc.h
4 #ifndef ASMARM_MACH_MMC_H
5 #define ASMARM_MACH_MMC_H
7 #include <linux/mmc/host.h>
8 #include <linux/mmc/card.h>
9 #include <linux/mmc/sdio_func.h>
11 struct embedded_sdio_data
{
13 struct sdio_cccr cccr
;
14 struct sdio_embedded_func
*funcs
;
23 struct msm_mmc_gpio_data
{
24 struct msm_mmc_gpio
*gpio
;
28 struct msm_mmc_platform_data
{
29 unsigned int ocr_mask
; /* available voltages */
30 u32 (*translate_vdd
)(struct device
*, unsigned int);
31 unsigned int (*status
)(struct device
*);
32 struct embedded_sdio_data
*embedded_sdio
;
33 int (*register_status_notify
)(void (*callback
)(int card_present
, void *dev_id
), void *dev_id
);
34 struct msm_mmc_gpio_data
*gpio_data
;