]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: mach-highlander and mach-rsk require gpiolib.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 7 Jan 2009 08:16:25 +0000 (17:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 27 Jan 2009 05:49:10 +0000 (14:49 +0900)
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>
arch/sh/Kconfig
arch/sh/boards/Kconfig
arch/sh/boards/mach-highlander/Kconfig
arch/sh/boards/mach-rsk/Kconfig

index 3a2be2278944d3c0b3a1b1cfb21cd88ca5fb4b07..ebabe518e729dcdb95fa551b21a4e404bca9ba93 100644 (file)
@@ -126,13 +126,6 @@ config ARCH_HAS_ILOG2_U64
 config ARCH_NO_VIRT_TO_BUS
        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
        bool
 
index 802d5c475a7d8834fe1d89f47f9a77a40a6648bc..c9da37088d2eacb4810a15a1465a5f5bec658934 100644 (file)
@@ -240,7 +240,7 @@ config SH_X3PROTO
 config SH_MAGIC_PANEL_R2
        bool "Magic Panel R2"
        depends on CPU_SUBTYPE_SH7720
-       select GENERIC_GPIO
+       select ARCH_REQUIRE_GPIOLIB
        help
          Select Magic Panel R2 if configuring for Magic Panel R2.
 
index 08057f62687b7bcc3e3687dabf4b53554500d080..def49cc0a7b9266b3d1f75a074017a2f49b670ac 100644 (file)
@@ -18,7 +18,7 @@ config SH_R7780MP
 config SH_R7785RP
        bool "R7785RP board support"
        depends on CPU_SUBTYPE_SH7785
-       select GENERIC_GPIO
+       select ARCH_REQUIRE_GPIOLIB
 
 endchoice
 
index bff095dffc02bbb41525c9c81a3042a00d5b4433..aeff3b04220590f70a28de6d4ff960326a78b034 100644 (file)
@@ -10,7 +10,7 @@ config SH_RSK7201
 
 config SH_RSK7203
        bool "RSK7203"
-       select GENERIC_GPIO
+       select ARCH_REQUIRE_GPIOLIB
        depends on CPU_SUBTYPE_SH7203
 
 endchoice