summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-01-08 15:33:11 +0300
committerBen Dooks <ben-linux@fluff.org>2009-01-08 19:24:03 +0300
commit4d316fc5a34b073da4145a203101ec5b9553a634 (patch)
tree26c879dcb8de34fda0e190b55d05f7c64d1d8961
parent9e42d0cf5020aaf217433cad1a224745241d212a (diff)
downloadlinux-4d316fc5a34b073da4145a203101ec5b9553a634.tar.xz
[ARM] S3C24XX: Add gpio_to_irq() facility
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@fluff.org>
-rw-r--r--arch/arm/mach-s3c2410/include/mach/gpio.h1
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 e0349af8a483..00476a573bbe 100644
--- a/arch/arm/mach-s3c2410/include/mach/gpio.h
+++ b/arch/arm/mach-s3c2410/include/mach/gpio.h
@@ -14,6 +14,7 @@
#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
/* some boards require extra gpio capacity to support external
* devices that need GPIO.