]> Git Repo - linux.git/commitdiff
cpufreq: OMAP: fix build errors: depends on ARCH_OMAP2PLUS
authorKevin Hilman <[email protected]>
Fri, 13 Apr 2012 20:32:30 +0000 (13:32 -0700)
committerLinus Torvalds <[email protected]>
Sat, 14 Apr 2012 00:57:40 +0000 (17:57 -0700)
The OMAP driver needs a 'depends on ARCH_OMAP2PLUS' since it only
builds for OMAP2+ platforms.

This 'depends on' was in the original patch from Russell King, but was
erroneously removed by me when making this option user-selectable in
commit b09db45c (cpufreq: OMAP driver depends CPUfreq tables.)  This
patch remedies that.

Apologies to Russell King for breaking his originally working patch.

Also, thanks to Grazvydas Ignotas for reporting the same problem.

Cc: Russell King <[email protected]>
Cc: Grazvydas Ignotas <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/cpufreq/Kconfig.arm

index ffbb446859152e232f48099c8e57b8797502ed76..5961e6415f082a54e4a29a0980d48857a724cc7c 100644 (file)
@@ -4,6 +4,7 @@
 
 config ARM_OMAP2PLUS_CPUFREQ
        bool "TI OMAP2+"
+       depends on ARCH_OMAP2PLUS
        default ARCH_OMAP2PLUS
        select CPU_FREQ_TABLE
 
This page took 0.054783 seconds and 4 git commands to generate.