diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-09-28 09:11:30 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-01 23:45:34 +0100 |
commit | f55be1bf52aad524dc1bf556ae26c90262c87825 (patch) | |
tree | de61131bfac6985902a66ce0b29909ad0519acf9 /drivers | |
parent | 354bf8010ffea1ca5accd9fae26b7373df96bcb7 (diff) | |
download | op-kernel-dev-f55be1bf52aad524dc1bf556ae26c90262c87825.zip op-kernel-dev-f55be1bf52aad524dc1bf556ae26c90262c87825.tar.gz |
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 <eric.y.miao@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-pxa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 5d6a86b..9052925 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -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 { |