diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-01-07 03:16:25 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-27 00:49:10 -0500 |
commit | ae5e6d05a606e05e054f816bd01e02f69d38d283 (patch) | |
tree | 1f58ec0410cf044ca91da43a5c6afbc51127196a /arch/sh | |
parent | 57e97cb8bedd06e8a2e562454423d58aab5827ce (diff) |
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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Kconfig | 7 | ||||
-rw-r--r-- | arch/sh/boards/Kconfig | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-highlander/Kconfig | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-rsk/Kconfig | 2 |
4 files changed, 3 insertions, 10 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 3a2be2278944..ebabe518e729 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -126,13 +126,6 @@ config ARCH_HAS_ILOG2_U64 | |||
126 | config ARCH_NO_VIRT_TO_BUS | 126 | config ARCH_NO_VIRT_TO_BUS |
127 | def_bool y | 127 | def_bool y |
128 | 128 | ||
129 | config ARCH_WANT_OPTIONAL_GPIOLIB | ||
130 | def_bool y | ||
131 | depends on !ARCH_REQUIRE_GPIOLIB | ||
132 | |||
133 | config ARCH_REQUIRE_GPIOLIB | ||
134 | def_bool n | ||
135 | |||
136 | config IO_TRAPPED | 129 | config IO_TRAPPED |
137 | bool | 130 | bool |
138 | 131 | ||
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 802d5c475a7d..c9da37088d2e 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig | |||
@@ -240,7 +240,7 @@ config SH_X3PROTO | |||
240 | config SH_MAGIC_PANEL_R2 | 240 | config SH_MAGIC_PANEL_R2 |
241 | bool "Magic Panel R2" | 241 | bool "Magic Panel R2" |
242 | depends on CPU_SUBTYPE_SH7720 | 242 | depends on CPU_SUBTYPE_SH7720 |
243 | select GENERIC_GPIO | 243 | select ARCH_REQUIRE_GPIOLIB |
244 | help | 244 | help |
245 | Select Magic Panel R2 if configuring for Magic Panel R2. | 245 | Select Magic Panel R2 if configuring for Magic Panel R2. |
246 | 246 | ||
diff --git a/arch/sh/boards/mach-highlander/Kconfig b/arch/sh/boards/mach-highlander/Kconfig index 08057f62687b..def49cc0a7b9 100644 --- a/arch/sh/boards/mach-highlander/Kconfig +++ b/arch/sh/boards/mach-highlander/Kconfig | |||
@@ -18,7 +18,7 @@ config SH_R7780MP | |||
18 | config SH_R7785RP | 18 | config SH_R7785RP |
19 | bool "R7785RP board support" | 19 | bool "R7785RP board support" |
20 | depends on CPU_SUBTYPE_SH7785 | 20 | depends on CPU_SUBTYPE_SH7785 |
21 | select GENERIC_GPIO | 21 | select ARCH_REQUIRE_GPIOLIB |
22 | 22 | ||
23 | endchoice | 23 | endchoice |
24 | 24 | ||
diff --git a/arch/sh/boards/mach-rsk/Kconfig b/arch/sh/boards/mach-rsk/Kconfig index bff095dffc02..aeff3b042205 100644 --- a/arch/sh/boards/mach-rsk/Kconfig +++ b/arch/sh/boards/mach-rsk/Kconfig | |||
@@ -10,7 +10,7 @@ config SH_RSK7201 | |||
10 | 10 | ||
11 | config SH_RSK7203 | 11 | config SH_RSK7203 |
12 | bool "RSK7203" | 12 | bool "RSK7203" |
13 | select GENERIC_GPIO | 13 | select ARCH_REQUIRE_GPIOLIB |
14 | depends on CPU_SUBTYPE_SH7203 | 14 | depends on CPU_SUBTYPE_SH7203 |
15 | 15 | ||
16 | endchoice | 16 | endchoice |