projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/arch/arm/mach-imx/mx1ads.c
b/arch/arm/mach-imx/mx1ads.c
index
da893c8
..
a9778c1
100644
(file)
--- a/
arch/arm/mach-imx/mx1ads.c
+++ b/
arch/arm/mach-imx/mx1ads.c
@@
-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);