summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-08-22 08:36:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-22 09:12:53 +0100
commite9fe594344c3db554aebb48513b60bba90c4dd2d (patch)
tree77fb5f430cb9eba7090e1c7d02b25595c82b9718 /arch/arm/mach-u300
parenteb3cf18cccc33d86179674ac1c49dcbc142fc2d9 (diff)
downloadblackbird-op-linux-e9fe594344c3db554aebb48513b60bba90c4dd2d.tar.gz
blackbird-op-linux-e9fe594344c3db554aebb48513b60bba90c4dd2d.zip
ARM: 7034/1: mach-u300: delete irq_to_gpio() function
This function is not used in the U300 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-u300')
-rw-r--r--arch/arm/mach-u300/include/mach/gpio.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-u300/include/mach/gpio.h b/arch/arm/mach-u300/include/mach/gpio.h
index 6a3f24d92438..430a0544baff 100644
--- a/arch/arm/mach-u300/include/mach/gpio.h
+++ b/arch/arm/mach-u300/include/mach/gpio.h
@@ -44,13 +44,4 @@ static inline unsigned gpio_to_irq(unsigned gpio)
}
#define gpio_to_irq gpio_to_irq
-static inline unsigned irq_to_gpio(unsigned irq)
-{
- /*
- * FIXME: This is no 1-1 mapping at all, it points to the
- * whole block of 8 pins.
- */
- return (irq - IRQ_U300_GPIO_PORT0) << 3;
-}
-
#endif /* __MACH_U300_GPIO_H */
OpenPOWER on IntegriCloud