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

Commit bf9f0674 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

sh-pfc: Remove dependency on GPIOLIB



Make GPIO support optional for platforms that don't support GPIOLIB.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 09bbc1fd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@
if ARCH_SHMOBILE || SUPERH

config PINCTRL_SH_PFC
	# XXX move off the gpio dependency
	depends on GPIOLIB
	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
	select PINMUX
	select PINCONF
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#define __SH_PFC_CORE_H__

#include <linux/compiler.h>
#include <linux/spinlock.h>
#include <linux/types.h>

#include "sh_pfc.h"
+1 −1
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@
#ifndef __SH_PFC_H
#define __SH_PFC_H

#include <linux/bug.h>
#include <linux/stringify.h>
#include <asm-generic/gpio.h>

typedef unsigned short pinmux_enum_t;