From: Fabio Estevam Date: Thu, 14 Oct 2010 15:38:04 +0000 (-0700) Subject: eukrea_mbimxsd-baseboard: Pass the correct GPIO to gpio_free X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f1de1613da54f754d5d2bbf79fcacbd5ed965537;p=linux-beck.git eukrea_mbimxsd-baseboard: Pass the correct GPIO to gpio_free Pass the correct GPIO to gpio_free Signed-off-by: Fabio Estevam Acked-by: Eric BĂ©nard Signed-off-by: Sascha Hauer --- 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));