提交 18ad7a61 编写于 作者: W Wolfgang Grandegger 提交者: Benjamin Herrenschmidt

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: NWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 ac8a1014
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册