aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/mach/mmc.h1
-rw-r--r--arch/arm/mach-u300/mmc.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/mmc.h b/arch/arm/include/asm/mach/mmc.h
index b490ecc79def..27bec555ee16 100644
--- a/arch/arm/include/asm/mach/mmc.h
+++ b/arch/arm/include/asm/mach/mmc.h
@@ -12,6 +12,7 @@ struct mmc_platform_data {
12 unsigned int (*status)(struct device *); 12 unsigned int (*status)(struct device *);
13 int gpio_wp; 13 int gpio_wp;
14 int gpio_cd; 14 int gpio_cd;
15 unsigned long capabilities;
15}; 16};
16 17
17#endif 18#endif
diff --git a/arch/arm/mach-u300/mmc.c b/arch/arm/mach-u300/mmc.c
index 585cc013639d..089b9957b6a4 100644
--- a/arch/arm/mach-u300/mmc.c
+++ b/arch/arm/mach-u300/mmc.c
@@ -158,6 +158,8 @@ int __devinit mmc_init(struct amba_device *adev)
158 mmci_card->mmc0_plat_data.status = mmc_status; 158 mmci_card->mmc0_plat_data.status = mmc_status;
159 mmci_card->mmc0_plat_data.gpio_wp = -1; 159 mmci_card->mmc0_plat_data.gpio_wp = -1;
160 mmci_card->mmc0_plat_data.gpio_cd = -1; 160 mmci_card->mmc0_plat_data.gpio_cd = -1;
161 mmci_card->mmc0_plat_data.capabilities = MMC_CAP_MMC_HIGHSPEED |
162 MMC_CAP_SD_HIGHSPEED | MMC_CAP_4_BIT_DATA;
161 163
162 mmcsd_device->platform_data = (void *) &mmci_card->mmc0_plat_data; 164 mmcsd_device->platform_data = (void *) &mmci_card->mmc0_plat_data;
163 165