ARM: 6664/1: AT91: Use macros for gpio_to_irq/irq_to_gpio
commitad56c0dd9dfb0175e605b5e66b3f9973bef60ca0
authorRyan Mallon <ryan@bluewatersys.com>
Mon, 14 Feb 2011 02:44:22 +0000 (14 03:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Feb 2011 10:54:01 +0000 (19 10:54 +0000)
tree8f59ab2e10d3c7ba2faadcd146b82dc4e8594dd1
parent85e2efbb1db9a18d218006706d6e4fbeb0216213
ARM: 6664/1: AT91: Use macros for gpio_to_irq/irq_to_gpio

Replace the static inline functions for gpio_to_irq/irq_to_gpio so that
they can be used in static initialisers.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/include/mach/gpio.h