]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 5745/1: Change ep93xx gpio_irq static inlines to macros
authorHartley Sweeten <hartleys@visionengravers.com>
Mon, 5 Oct 2009 22:15:32 +0000 (23:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 7 Oct 2009 12:12:58 +0000 (13:12 +0100)
commit3ec50850afc229e72a446a7af90505f35b3c87fd
treeb33b0b1b2aae28767b93cd411608b5e94998d0e6
parent1b9da99e1ae65cb09ff597546653702e2ce194fe
ARM: 5745/1: Change ep93xx gpio_irq static inlines to macros

From: Ryan Mallon <ryan@bluewatersys.com>

Change the gpio_to_irq and irq_to_gpio static inline functions to
macros so that they can be used in variable initialisers.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/include/mach/gpio.h