summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/include/mach/gpio.h
diff options
context:
space:
mode:
authorRussell King2011-07-26 12:29:42 +0200
committerRussell King2011-08-12 09:54:05 +0200
commit01e7dc89d060413fd639635618de506093730964 (patch)
tree4fd1f5563c3446155e18fe76d4789ca6fe17b791 /arch/arm/mach-s5pc100/include/mach/gpio.h
parentARM: gpio: consolidate trivial gpiolib implementations (diff)
downloadkernel-qcow2-linux-01e7dc89d060413fd639635618de506093730964.tar.gz
kernel-qcow2-linux-01e7dc89d060413fd639635618de506093730964.tar.xz
kernel-qcow2-linux-01e7dc89d060413fd639635618de506093730964.zip
ARM: gpio: consolidate gpio_to_irq
Many of the gpio_to_irq implementations use the gpiolib version of this function. Provide the standard gpiolib gpio_to_irq() for everyone, but allow platforms to override it if they wish. Add the neccessary overrides for those platforms which do not use the standard definition. Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s5pc100/include/mach/gpio.h')
-rw-r--r--arch/arm/mach-s5pc100/include/mach/gpio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/gpio.h b/arch/arm/mach-s5pc100/include/mach/gpio.h
index f515bfb964a6..0e75641249c7 100644
--- a/arch/arm/mach-s5pc100/include/mach/gpio.h
+++ b/arch/arm/mach-s5pc100/include/mach/gpio.h
@@ -16,7 +16,6 @@
#define __ASM_ARCH_GPIO_H __FILE__
#define __ARM_GPIOLIB_TRIVIAL
-#define gpio_to_irq __gpio_to_irq
/* GPIO bank sizes */
#define S5PC100_GPIO_A0_NR (8)