提交 bf9f0674 编写于 作者: L Laurent Pinchart 提交者: Simon Horman

sh-pfc: Remove dependency on GPIOLIB

Make GPIO support optional for platforms that don't support GPIOLIB.
Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 09bbc1fd
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
if ARCH_SHMOBILE || SUPERH if ARCH_SHMOBILE || SUPERH
config PINCTRL_SH_PFC config PINCTRL_SH_PFC
# XXX move off the gpio dependency
depends on GPIOLIB
select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
select PINMUX select PINMUX
select PINCONF select PINCONF
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#define __SH_PFC_CORE_H__ #define __SH_PFC_CORE_H__
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/spinlock.h>
#include <linux/types.h> #include <linux/types.h>
#include "sh_pfc.h" #include "sh_pfc.h"
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#ifndef __SH_PFC_H #ifndef __SH_PFC_H
#define __SH_PFC_H #define __SH_PFC_H
#include <linux/bug.h>
#include <linux/stringify.h> #include <linux/stringify.h>
#include <asm-generic/gpio.h>
typedef unsigned short pinmux_enum_t; typedef unsigned short pinmux_enum_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册