summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-u300.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-08-22 08:34:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-22 09:12:53 +0100
commiteb3cf18cccc33d86179674ac1c49dcbc142fc2d9 (patch)
tree11fe5bd0ae6f0efe19dc004e2cf68d30b09f2059 /drivers/gpio/gpio-u300.c
parent0f33286190634eeb3ec7638045980c39c98380f4 (diff)
ARM: 7033/1: mach-u300: 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. 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/gpio-u300.c')
-rw-r--r--drivers/gpio/gpio-u300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-u300.c b/drivers/gpio/gpio-u300.c
index 53e8255cb0b..92f2b8c06de 100644
--- a/drivers/gpio/gpio-u300.c
+++ b/drivers/gpio/gpio-u300.c
@@ -21,6 +21,7 @@
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
+#include <mach/gpio-u300.h>
/* Reference to GPIO block clock */
static struct clk *clk;