diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-06-14 12:15:24 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-06-14 12:15:24 +0200 |
commit | 406c86f11f0b62d640c5aa47a56faf81c4cf8540 (patch) | |
tree | 6c68d87a2e72f8e045eea33a5813273d107d79ae /arch/arm/mach-pxa | |
parent | [ARM] mmp: fix build failure due to IRQ_PMU depends on ARCH_PXA (diff) | |
download | linux-406c86f11f0b62d640c5aa47a56faf81c4cf8540.tar.xz linux-406c86f11f0b62d640c5aa47a56faf81c4cf8540.zip |
[ARM] pxa/corgi: fix MMC/SD card detection failure
Reported-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/corgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 3d1dcb9ac08f..51ffa6afb675 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-pxa/corgi.c @@ -446,7 +446,7 @@ static struct platform_device corgiled_device = { static struct pxamci_platform_data corgi_mci_platform_data = { .detect_delay_ms = 250, .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34, - .gpio_card_detect = -1, + .gpio_card_detect = CORGI_GPIO_nSD_DETECT, .gpio_card_ro = CORGI_GPIO_nSD_WP, .gpio_power = CORGI_GPIO_SD_PWR, }; |