]> git.hungrycats.org Git - linux/commitdiff
[ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig
authorRussell King <rmk@flint.arm.linux.org.uk>
Thu, 17 Apr 2003 23:26:15 +0000 (00:26 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Thu, 17 Apr 2003 23:26:15 +0000 (00:26 +0100)
When a "depends" statement against all configuration options of a choice,
which causes all options of that choice to be disabled, it sends Kconfig
into an infinite loop.  Move the "depends" clause to the choice statement
instead.

arch/arm/mach-iop3xx/Kconfig

index b234d4586435db0ed47c138b5e88f4321f56444e..a253ad4dce29eade46e4ba3a8194d2d04c5fde4a 100644 (file)
@@ -4,17 +4,16 @@ menu "IOP3xx Implementation Options"
 choice
        prompt "IOP3xx System Type"
        default ARCH_IQ80310
+       depends on ARCH_IOP3XX
 
 config ARCH_IQ80310
        bool "IQ80310"
-       depends on ARCH_IOP3XX
        help
          Say Y here if you want to run your kernel on the Intel IQ80310
          evaluation kit for the IOP310 chipset.
 
 config ARCH_IQ80321
        bool "IQ80321"
-       depends on ARCH_IOP3XX
        help
          Say Y here if you want to run your kernel on the Intel IQ80321
          evaluation kit for the IOP321 chipset.