From: Silesh C V Date: Tue, 5 Jul 2011 10:38:23 +0000 (-0700) Subject: omap: 4430SDP: Register the card detect GPIO properly X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=27a69d709e63efc23df18cc411fa341749de750e;p=mv-sheeva.git omap: 4430SDP: Register the card detect GPIO properly Without this the HSMMC driver takes GPIO 0 to be the card detect gpio and requests/configures it. This will give rise to issues when another driver needs to use GPIO 0. On 4430SDP, the card detection is through TWL 6030. Signed-off-by: Silesh C V Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index d7df07ef2ce..5e03ddb0eb1 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -323,6 +323,7 @@ static struct omap2_hsmmc_info mmc[] = { { .mmc = 1, .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, + .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, }, {} /* Terminator */