aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s3c2410/hardware.h
diff options
context:
space:
mode:
authorLucas Correia Villa Real <lucasvr@gobolinux.org>2006-02-01 21:24:23 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-02-01 21:24:23 +0000
commit0ca5bc3de715f6e031d44ffecdd2d127891eccf5 (patch)
treeec963c52b7c60d1cd6862798f5bdfce87387082b /include/asm-arm/arch-s3c2410/hardware.h
parent[ARM] 3295/1: Fix oprofile init return value (diff)
downloadlinux-dev-0ca5bc3de715f6e031d44ffecdd2d127891eccf5.tar.xz
linux-dev-0ca5bc3de715f6e031d44ffecdd2d127891eccf5.zip
[ARM] 3284/1: S3C2400 - adds support to GPIO
Patch from Lucas Correia Villa Real This patch adds support to GPIO on the S3C2400, which is going to be used by the GP32 machine and the SMDK2400 development board. Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-s3c2410/hardware.h')
-rw-r--r--include/asm-arm/arch-s3c2410/hardware.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/hardware.h b/include/asm-arm/arch-s3c2410/hardware.h
index 1c9de29cafef..a2330bf83695 100644
--- a/include/asm-arm/arch-s3c2410/hardware.h
+++ b/include/asm-arm/arch-s3c2410/hardware.h
@@ -17,6 +17,7 @@
* 14-Sep-2004 BJD Added misccr and getpin to gpio
* 01-Oct-2004 BJD Added the new gpio functions
* 16-Oct-2004 BJD Removed the clock variables
+ * 15-Jan-2006 LCVR Added s3c2400_gpio_getirq()
*/
#ifndef __ASM_ARCH_HARDWARE_H
@@ -55,6 +56,12 @@ extern unsigned int s3c2410_gpio_getcfg(unsigned int pin);
extern int s3c2410_gpio_getirq(unsigned int pin);
+#ifdef CONFIG_CPU_S3C2400
+
+extern int s3c2400_gpio_getirq(unsigned int pin);
+
+#endif /* CONFIG_CPU_S3C2400 */
+
/* s3c2410_gpio_irqfilter
*
* set the irq filtering on the given pin