summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-08-22 07:34:26 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-22 08:12:53 (GMT)
commiteb3cf18cccc33d86179674ac1c49dcbc142fc2d9 (patch)
tree11fe5bd0ae6f0efe19dc004e2cf68d30b09f2059 /drivers/gpio
parent0f33286190634eeb3ec7638045980c39c98380f4 (diff)
downloadlinux-fsl-qoriq-eb3cf18cccc33d86179674ac1c49dcbc142fc2d9.tar.xz
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 53e8255..92f2b8c 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;