ARM: 7104/1: plat-pxa: 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: Eric Miao <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Russell King <[email protected]>
This commit is contained in:
Linus Walleij 2011-09-28 09:11:30 +01:00 • committed by Russell King
commit f55be1bf52
24 changed files with 227 additions and 180 deletions

View file

@ -18,6 +18,8 @@
#include <linux/syscore_ops.h>
#include <linux/slab.h>
#include <mach/gpio-pxa.h>
int pxa_last_gpio;
struct pxa_gpio_chip {