ARM: 7041/1: gpio-ep93xx: hookup the to_irq callback in the driver
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Aug 2011 07:43:04 +0000 (08:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Aug 2011 08:12:56 +0000 (09:12 +0100)
commit257af9f9725aa8a863b306659208a031135d59e7
treeecd200084aff34e820fc242f8a2996d3cb45c9ad
parent5f3fcf9649dbb010ccac41259d04147775ec8fc2
ARM: 7041/1: gpio-ep93xx: hookup the to_irq callback in the driver

Remove the ep93xx machine specific dependencies for gpio_to_irq() by
hooking up the callback in the driver and using __gpio_to_irq.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/include/mach/gpio.h
drivers/gpio/gpio-ep93xx.c