[PATCH] eukrea_mbimxsd-baseboard: Pass the correct GPIO to gpio_free

Fabio Estevam fabioestevam at yahoo.com
Thu Oct 14 11:38:04 EDT 2010


Pass the correct GPIO to gpio_free

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

---
 arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
index 8869599..03380c3 100644
--- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
+++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
@@ -267,7 +267,7 @@ void __init eukrea_mbimxsd35_baseboard_init(void)
 
 	gpio_request(GPIO_LCDPWR, "LCDPWR");
 	gpio_direction_output(GPIO_LCDPWR, 1);
-	gpio_free(GPIO_SWITCH1);
+	gpio_free(GPIO_LCDPWR);
 
 	i2c_register_board_info(0, eukrea_mbimxsd_i2c_devices,
 				ARRAY_SIZE(eukrea_mbimxsd_i2c_devices));
-- 
1.6.0.4


      



More information about the linux-arm-kernel mailing list