[PATCH 3/5] Treo680: fix freed GPIO in treo680_irda_shutdown()
Tomáš Čech
sleep_walker at suse.cz
Wed Aug 26 20:43:29 EDT 2009
From: Tomáš Čech <sleep walker at suse.cz>
---
arch/arm/mach-pxa/treo680.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-pxa/treo680.c b/arch/arm/mach-pxa/treo680.c
index 57bccc3..d88114c 100644
--- a/arch/arm/mach-pxa/treo680.c
+++ b/arch/arm/mach-pxa/treo680.c
@@ -325,7 +325,7 @@ err1:
static void treo680_irda_shutdown(struct device *dev)
{
- gpio_free(GPIO_NR_TREO680_AMP_EN);
+ gpio_free(GPIO_NR_TREO680_IR_EN);
}
static struct pxaficp_platform_data treo680_ficp_info = {
--
1.6.3.3
More information about the linux-arm-kernel
mailing list