arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back
[profile/ivi/kernel-adaptation-intel-automotive.git] / arch / arm / mach-imx / mx1ads.c
index da893c8..a9778c1 100644 (file)
@@ -116,7 +116,7 @@ static struct platform_device *devices[] __initdata = {
 };
 
 #ifdef CONFIG_MMC_IMX
-static int mx1ads_mmc_card_present(void)
+static int mx1ads_mmc_card_present(struct device *dev)
 {
        /* MMC/SD Card Detect is PB 20 on MX1ADS V1.0.7 */
        return (SSR(1) & (1 << 20) ? 0 : 1);