ARM: pxa: Fix Vpac270 gpio_power for MMC
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 9 Aug 2010 01:55:09 +0000 (03:55 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Sat, 25 Sep 2010 01:47:02 +0000 (09:47 +0800)
GPIO 0 is valid, yet this platform doesn't have any power GPIO for MMC.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
arch/arm/mach-pxa/vpac270.c

index c9b747cedea8fb48a4a9615d52394fa5d2e77fcc..37d6173bbb660868a3cb696cedcaab97b9eee66d 100644 (file)
@@ -240,6 +240,7 @@ static void __init vpac270_onenand_init(void) {}
 #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
 static struct pxamci_platform_data vpac270_mci_platform_data = {
        .ocr_mask               = MMC_VDD_32_33 | MMC_VDD_33_34,
+       .gpio_power             = -1,
        .gpio_card_detect       = GPIO53_VPAC270_SD_DETECT_N,
        .gpio_card_ro           = GPIO52_VPAC270_SD_READONLY,
        .detect_delay_ms        = 200,