[PATCH] [OF] of_gpio: should use new <linux/gpio.h> header

Anton Vorontsov avorontsov at ru.mvista.com
Fri May 30 22:51:33 EST 2008

From: Wolfgang Grandegger <wg at grandegger.com>

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 at grandegger.com>
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
 include/linux/of_gpio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/of_gpio.h b/include/linux/of_gpio.h
index 2ee97e9..67db101 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>

More information about the Linuxppc-dev mailing list