mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
sh: mach-highlander and mach-rsk require gpiolib.
Fix up the build for mach-highlander and mach-rsk. These operated on the assumption that GENERIC_GPIO support with an optional GPIOLIB was possible. This used to be true, but has not been the case since commit-id d56cc8bc661ac1ceded8d45ba2d53bb134fee17d ("sh: use gpiolib"), where the GENERIC_GPIO implementation was rewritten to use GPIOLIB directly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
57e97cb8be
commit
ae5e6d05a6
4 changed files with 3 additions and 10 deletions
|
@ -126,13 +126,6 @@ config ARCH_HAS_ILOG2_U64
|
||||||
config ARCH_NO_VIRT_TO_BUS
|
config ARCH_NO_VIRT_TO_BUS
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config ARCH_WANT_OPTIONAL_GPIOLIB
|
|
||||||
def_bool y
|
|
||||||
depends on !ARCH_REQUIRE_GPIOLIB
|
|
||||||
|
|
||||||
config ARCH_REQUIRE_GPIOLIB
|
|
||||||
def_bool n
|
|
||||||
|
|
||||||
config IO_TRAPPED
|
config IO_TRAPPED
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
|
@ -240,7 +240,7 @@ config SH_X3PROTO
|
||||||
config SH_MAGIC_PANEL_R2
|
config SH_MAGIC_PANEL_R2
|
||||||
bool "Magic Panel R2"
|
bool "Magic Panel R2"
|
||||||
depends on CPU_SUBTYPE_SH7720
|
depends on CPU_SUBTYPE_SH7720
|
||||||
select GENERIC_GPIO
|
select ARCH_REQUIRE_GPIOLIB
|
||||||
help
|
help
|
||||||
Select Magic Panel R2 if configuring for Magic Panel R2.
|
Select Magic Panel R2 if configuring for Magic Panel R2.
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ config SH_R7780MP
|
||||||
config SH_R7785RP
|
config SH_R7785RP
|
||||||
bool "R7785RP board support"
|
bool "R7785RP board support"
|
||||||
depends on CPU_SUBTYPE_SH7785
|
depends on CPU_SUBTYPE_SH7785
|
||||||
select GENERIC_GPIO
|
select ARCH_REQUIRE_GPIOLIB
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ config SH_RSK7201
|
||||||
|
|
||||||
config SH_RSK7203
|
config SH_RSK7203
|
||||||
bool "RSK7203"
|
bool "RSK7203"
|
||||||
select GENERIC_GPIO
|
select ARCH_REQUIRE_GPIOLIB
|
||||||
depends on CPU_SUBTYPE_SH7203
|
depends on CPU_SUBTYPE_SH7203
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
Loading…
Add table
Reference in a new issue