aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mx31moboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx3/mx31moboard.c')
-rw-r--r--arch/arm/mach-mx3/mx31moboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c
index d3c6bb26271f..9243de54041a 100644
--- a/arch/arm/mach-mx3/mx31moboard.c
+++ b/arch/arm/mach-mx3/mx31moboard.c
@@ -118,7 +118,7 @@ static struct imxi2c_platform_data moboard_i2c1_pdata = {
118 118
119static int moboard_sdhc1_get_ro(struct device *dev) 119static int moboard_sdhc1_get_ro(struct device *dev)
120{ 120{
121 return gpio_get_value(SDHC1_WP); 121 return !gpio_get_value(SDHC1_WP);
122} 122}
123 123
124static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq, 124static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq,