ARM: 7045/1: mach-lpc32xx: break out GPIO driver specifics
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Aug 2011 07:45:15 +0000 (08:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 22 Aug 2011 08:13:21 +0000 (09:13 +0100)
commit9c587c05d715ca8461342c2cb3b4a67036b5c22b
tree3d87c7dd11c18f3ccce4b3aa6995ada801593507
parentf80cb526e301ab625dd04f6137f9995607348ce3
ARM: 7045/1: mach-lpc32xx: break out GPIO driver specifics

The <mach/gpio.h> file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.

Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Barry Song <bs14@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-lpc32xx/include/mach/gpio-lpc32xx.h [new file with mode: 0644]
arch/arm/mach-lpc32xx/include/mach/gpio.h
arch/arm/mach-lpc32xx/phy3250.c
drivers/gpio/gpio-lpc32xx.c