summaryrefslogtreecommitdiffstats
path: root/include/linux/of_gpio.h
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2008-05-30 22:51:33 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 10:39:30 +1000
commit18ad7a61e1b700dfe177fabf1c350b4f5d4da8ac (patch)
tree31bd4a3d44fbad5d844dc8d9a3905952510ab702 /include/linux/of_gpio.h
parentac8a1014804c23c96e3f757145f73e1351c34365 (diff)
downloadlinux-stable-18ad7a61e1b700dfe177fabf1c350b4f5d4da8ac.tar.gz
linux-stable-18ad7a61e1b700dfe177fabf1c350b4f5d4da8ac.tar.bz2
linux-stable-18ad7a61e1b700dfe177fabf1c350b4f5d4da8ac.zip
of_gpio: Should use new <linux/gpio.h> header
Since commit 7560fa60fcdcdb0da662f6a9fad9064b554ef46c (gpio: <linux/gpio.h> and "no GPIO support here" stubs) drivers can use GPIOs if they're available, but don't require them. This patch actually enables this feature. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/of_gpio.h')
-rw-r--r--include/linux/of_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of_gpio.h b/include/linux/of_gpio.h
index 2ee97e9877a7..67db101d0eb8 100644
--- a/include/linux/of_gpio.h
+++ b/include/linux/of_gpio.h
@@ -15,7 +15,7 @@
#define __LINUX_OF_GPIO_H
#include <linux/errno.h>
-#include <asm/gpio.h>
+#include <linux/gpio.h>
#ifdef CONFIG_OF_GPIO