aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mx31moboard-marxbot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx3/mx31moboard-marxbot.c')
-rw-r--r--arch/arm/mach-mx3/mx31moboard-marxbot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
index 3e2b73051b94..2bfaffb344f0 100644
--- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
+++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -56,7 +56,7 @@ static unsigned int marxbot_pins[] = {
56 56
57static int marxbot_sdhc2_get_ro(struct device *dev) 57static int marxbot_sdhc2_get_ro(struct device *dev)
58{ 58{
59 return gpio_get_value(SDHC2_WP); 59 return !gpio_get_value(SDHC2_WP);
60} 60}
61 61
62static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq, 62static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq,