sh: cpufreq: Fix driver dependencies and flag as broken.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 18 Jul 2007 09:53:09 +0000 (18:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:18:20 +0000 (12:18 +0900)
This is only supported on SH-4, so don't expose it for the other
CPUs. Additionally, it's suffered some bitrot, so add a BROKEN
dependency as well until we fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 3ac6db2..848a38b 100644 (file)
@@ -474,7 +474,7 @@ source "drivers/cpufreq/Kconfig"
 
 config SH_CPU_FREQ
        tristate "SuperH CPU Frequency driver"
-       depends on CPU_FREQ
+       depends on CPU_FREQ && CPU_SH4 && BROKEN
        select CPU_FREQ_TABLE
        help
          This adds the cpufreq driver for SuperH. At present, only