]> err.no Git - linux-2.6/commitdiff
of_gpio: Should use new <linux/gpio.h> header
authorWolfgang Grandegger <wg@grandegger.com>
Fri, 30 May 2008 12:51:33 +0000 (22:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:30 +0000 (10:39 +1000)
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>
include/linux/of_gpio.h

index 2ee97e9877a7c40d1b0fba2b6f3e7ff88bcb686d..67db101d0eb83be9321f08498732c16f42057edc 100644 (file)
@@ -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