diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-08-22 03:49:34 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-22 04:13:45 -0400 |
commit | 9d08d5d77a355510c2f5657c86b0a4b25acfe72c (patch) | |
tree | ec44f7e809af186221b528b88c36120a1fed4d11 /arch/arm/mach-sa1100/include/mach | |
parent | 2428835fc6a579b68dde16d37e0b72ca29259c96 (diff) |
ARM: 7050/1: mach-sa1100: delete irq_to_gpio() function
This function is not used in the assabet build, and on the whole the
call is hard to consolidate so get rid of it from this machine.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/include/mach')
-rw-r--r-- | arch/arm/mach-sa1100/include/mach/gpio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/gpio.h b/arch/arm/mach-sa1100/include/mach/gpio.h index ab45b436b044..703631887c94 100644 --- a/arch/arm/mach-sa1100/include/mach/gpio.h +++ b/arch/arm/mach-sa1100/include/mach/gpio.h | |||
@@ -53,7 +53,5 @@ static inline void gpio_set_value(unsigned gpio, int value) | |||
53 | 53 | ||
54 | #define gpio_to_irq(gpio) ((gpio < 11) ? (IRQ_GPIO0 + gpio) : \ | 54 | #define gpio_to_irq(gpio) ((gpio < 11) ? (IRQ_GPIO0 + gpio) : \ |
55 | (IRQ_GPIO11 - 11 + gpio)) | 55 | (IRQ_GPIO11 - 11 + gpio)) |
56 | #define irq_to_gpio(irq) ((irq < IRQ_GPIO11_27) ? (irq - IRQ_GPIO0) : \ | ||
57 | (irq - IRQ_GPIO11 + 11)) | ||
58 | 56 | ||
59 | #endif | 57 | #endif |