On Thu, Feb 14, 2008 at 12:00:52AM +0100, Alessandro Guido wrote: > > Doesn't this cause these CPUFREQ options to appear outside of the CPUFREQ > > menu? > > > > No because they all depend on CPU_FREQ and as far as I understand Kconfig > automagically puts them under the same menu. Hmm, that's not documented behaviour. If we're starting to rely on that maybe it should be documented as being the expected behaviour? (here's the cut down patch for Roman's reference) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9619c43..2e21703 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -948,8 +948,6 @@ endmenu if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA) -menu "CPU Frequency scaling" - source "drivers/cpufreq/Kconfig" config CPU_FREQ_SA1100 @@ -988,8 +986,6 @@ config CPU_FREQ_PXA default y select CPU_FREQ_DEFAULT_GOV_USERSPACE -endmenu - endif menu "Floating point emulation" diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index c159ae6..ef80bd0 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -1,4 +1,4 @@ -config CPU_FREQ +menuconfig CPU_FREQ bool "CPU Frequency scaling" help CPU Frequency scaling allows you to change the clock speed of -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html