ARM: 5954/1: ep93xx: move gpio interrupt support to gpio.c
authorHartley Sweeten <hartleys@visionengravers.com>
Tue, 23 Feb 2010 20:41:17 +0000 (21:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Feb 2010 21:08:36 +0000 (21:08 +0000)
commitd056ab78558c03e6d31c031f7b83f0cb10bee7d4
tree7ea0c3f75d43986031c352550190bc3bc4f4b7fa
parentba7c6a3bccd25abd3c19d3655ecb1cc4d258271b
ARM: 5954/1: ep93xx: move gpio interrupt support to gpio.c

The GPIO support in core.c handles the interrupt support for GPIO
ports A, B, and F. The gpiolib implementation in gpio.c needs to
access the function ep93xx_gpio_int_mask when a gpio pin is made
an output and ep93xx_gpio_update_int_params in order to update
the registers.

Moving this support from core.c to gpio.c allows making the two
functions static. It also keeps all the GPIO handling together in one
file.

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