[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232889227-20887-3-git-send-email-u.kleine-koenig@pengutronix.de>
Date: Sun, 25 Jan 2009 14:13:46 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: linux-arm-kernel@...ts.arm.linux.org.uk,
Ben Dooks <ben-linux@...ff.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: [PATCH] [ARM] S3C24XX: Add gpio_to_irq() facility
From: Ben Dooks <ben-linux@...ff.org>
Add gpio_to_irq() by re-directing the call to the
generic __gpio_to_irq() code in the gpiolib.
Signed-off-by: Ben Dooks <ben-linux@...ff.org>
(cherry picked from commit 4d316fc5a34b073da4145a203101ec5b9553a634 to
fix compile error in drivers/gpio/gpiolib.c with CONFIG_DEBUG_FS=y)
Cc: Steven Rostedt <rostedt@...dmis.org>
---
arch/arm/mach-s3c2410/include/mach/gpio.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio.h b/arch/arm/mach-s3c2410/include/mach/gpio.h
index 3b52b86..fd8b326 100644
--- a/arch/arm/mach-s3c2410/include/mach/gpio.h
+++ b/arch/arm/mach-s3c2410/include/mach/gpio.h
@@ -14,5 +14,6 @@
#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value
#define gpio_cansleep __gpio_cansleep
+#define gpio_to_irq __gpio_to_irq
#include <asm-generic/gpio.h>
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists