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

From: Stephen Rothwell
Date: Tue Apr 26 2011 - 21:54:35 EST


Hi Dave,

On Tue, 26 Apr 2011 21:32:17 -0400 Dave Jones <davej@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature