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-Tag: v3.0~2928^2^2~3^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1de1613da54f754d5d2bbf79fcacbd5ed965537;p=platform%2Fkernel%2Flinux-amlogic.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 82b6c86..1abc10d 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));