ARM: EXYNOS4: Fix sdhci card detection for ORIGEN
authorTushar Behera <tushar.behera@linaro.org>
Wed, 31 Aug 2011 07:01:15 +0000 (16:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 2 Oct 2011 23:42:22 +0000 (08:42 +0900)
Fix incorrect value of cd_type field in platform data
for sdhci device.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos4/mach-origen.c

index 937db75..0e3b816 100644 (file)
@@ -78,9 +78,7 @@ static struct s3c2410_uartcfg origen_uartcfgs[] __initdata = {
 };
 
 static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = {
-       .cd_type                = S3C_SDHCI_CD_GPIO,
-       .ext_cd_gpio            = EXYNOS4_GPK2(2),
-       .ext_cd_gpio_invert     = 1,
+       .cd_type                = S3C_SDHCI_CD_INTERNAL,
        .clk_type               = S3C_SDHCI_CLK_DIV_EXTERNAL,
 };