summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabioestevam@yahoo.com>2010-10-14 08:38:04 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-19 18:45:21 +0200
commitf1de1613da54f754d5d2bbf79fcacbd5ed965537 (patch)
tree2609c79f40ebb741922655fc820fb6ff96efd7a4
parent4e6898a731c7060facc837f2ab2cb27205228c25 (diff)
downloadlinux-f1de1613da54f754d5d2bbf79fcacbd5ed965537.tar.bz2
eukrea_mbimxsd-baseboard: Pass the correct GPIO to gpio_free
Pass the correct GPIO to gpio_free Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Eric BĂ©nard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c2
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 82b6c8659c8a..1abc10d52922 100644
--- a/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
+++ b/arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
@@ -301,7 +301,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));