Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18ad7a61 authored by Wolfgang Grandegger's avatar Wolfgang Grandegger Committed by Benjamin Herrenschmidt
Browse files

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



Since commit 7560fa60 (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: default avatarWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent ac8a1014
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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