diff options
Diffstat (limited to 'arch/arm/mach-realview/core.c')
-rw-r--r-- | arch/arm/mach-realview/core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index facbd49eec67..dc3519c50ab2 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -221,6 +221,9 @@ arch_initcall(realview_i2c_init); | |||
221 | 221 | ||
222 | #define REALVIEW_SYSMCI (__io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_MCI_OFFSET) | 222 | #define REALVIEW_SYSMCI (__io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_MCI_OFFSET) |
223 | 223 | ||
224 | /* | ||
225 | * This is only used if GPIOLIB support is disabled | ||
226 | */ | ||
224 | static unsigned int realview_mmc_status(struct device *dev) | 227 | static unsigned int realview_mmc_status(struct device *dev) |
225 | { | 228 | { |
226 | struct amba_device *adev = container_of(dev, struct amba_device, dev); | 229 | struct amba_device *adev = container_of(dev, struct amba_device, dev); |
@@ -237,11 +240,15 @@ static unsigned int realview_mmc_status(struct device *dev) | |||
237 | struct mmc_platform_data realview_mmc0_plat_data = { | 240 | struct mmc_platform_data realview_mmc0_plat_data = { |
238 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 241 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
239 | .status = realview_mmc_status, | 242 | .status = realview_mmc_status, |
243 | .gpio_wp = 17, | ||
244 | .gpio_cd = 16, | ||
240 | }; | 245 | }; |
241 | 246 | ||
242 | struct mmc_platform_data realview_mmc1_plat_data = { | 247 | struct mmc_platform_data realview_mmc1_plat_data = { |
243 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, | 248 | .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, |
244 | .status = realview_mmc_status, | 249 | .status = realview_mmc_status, |
250 | .gpio_wp = 19, | ||
251 | .gpio_cd = 18, | ||
245 | }; | 252 | }; |
246 | 253 | ||
247 | /* | 254 | /* |