[PATCH] [ARM] S3C24XX: Add gpio_to_irq() facility

From: Uwe Kleine-KÃnig
Date: Sun Jan 25 2009 - 08:14:39 EST


From: Ben Dooks <ben-linux@xxxxxxxxx>

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@xxxxxxxxx>
(cherry picked from commit 4d316fc5a34b073da4145a203101ec5b9553a634 to
fix compile error in drivers/gpio/gpiolib.c with CONFIG_DEBUG_FS=y)
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/