Skip to contentSkip to conversation

of_gpio: should use new <linux/gpio.h> header

PATCH New Anton Vorontsov 1 participant 1 message May 30, 2008 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of_gpio: should use new <linux/gpio.h> header

From: Wolfgang Grandegger <[email protected]>

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.

---
 include/linux/of_gpio.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/of_gpio.h +1 -1
index 2ee97e9..67db101 100644
@@ -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
 
Signature · 1 line
1.5.5.1