Re: linux-next: build warning after merge of the cpufreq tree

Stephen Rothwell
2011-04-27T01:54:32Z

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

Hi Dave,

On Tue, 26 Apr 2011 21:32:17 -0400 Dave Jones <davej@redhat.com> wrote:
>
> As the commit message suggests, per-arch cpufreq drivers are moving to drivers/cpufreq/
> So far, I've only moved the x86 ones. As a side-effect of this, the
> source "drivers/cpufreq/Kconfig" is no longer a per-arch thing, as it now gets
> included from kernel/power/Kconfig.
>
> I suspect the warnings are happening because on the unconverted archs, drivers/cpufreq/Kconfig
> is now getting included twice. If you kill the 'source' line in kernel/power/Kconfig,
> does this make things go back to normal ? (Check that cpufreq still shows up in
> the resulting config afterwards)

Removing the source line in kernel/power/Kconfig makes the warnings go
away and the only change in the generated config file is this:

@@ -465,10 +465,6 @@
# CONFIG_PM_RUNTIME is not set
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
-
-#
-# CPU Frequency scaling
-#
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au