aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
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
parentARM: 7032/1: plat-nomadik: break out GPIO driver specifics (diff)
downloadlinux-dev-eb3cf18cccc33d86179674ac1c49dcbc142fc2d9.tar.xz
linux-dev-eb3cf18cccc33d86179674ac1c49dcbc142fc2d9.zip
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')
-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 53e8255cb0ba..92f2b8c06de1 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;