diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-09-22 03:07:00 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-01 18:37:34 -0400 |
commit | bd5f12a24766c1f299def0a78b008d4746f528f2 (patch) | |
tree | ca700136d12bf56f50d5048e96c39a26ed953bd1 /drivers/gpio | |
parent | ea5abbd215b749b2ff14397a47a5e65741c67bf4 (diff) |
ARM: 7042/3: mach-ep93xx: 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: Ryan Mallon <rmallon@gmail.com>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-ep93xx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index fbd6a6066777..7aafbb437339 100644 --- a/drivers/gpio/gpio-ep93xx.c +++ b/drivers/gpio/gpio-ep93xx.c | |||
@@ -23,6 +23,9 @@ | |||
23 | #include <linux/basic_mmio_gpio.h> | 23 | #include <linux/basic_mmio_gpio.h> |
24 | 24 | ||
25 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
26 | #include <mach/gpio-ep93xx.h> | ||
27 | |||
28 | #define irq_to_gpio(irq) ((irq) - gpio_to_irq(0)) | ||
26 | 29 | ||
27 | struct ep93xx_gpio { | 30 | struct ep93xx_gpio { |
28 | void __iomem *mmio_base; | 31 | void __iomem *mmio_base; |