cpufreq: OMAP: fix build errors: depends on ARCH_OMAP2PLUS
2d59dcfb · Kevin Hilman <[email protected]> · 2012-04-13 13:32:30 -07:00
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]>
- Commit
- 2d59dcfb54ade45cacc59a6e7bd96b8c19088c3d
- Parents
- 7d93101f
Changes
1 files changed · +1 −0
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index ffbb446..5961e64 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -4,6 +4,7 @@
config ARM_OMAP2PLUS_CPUFREQ
bool "TI OMAP2+"
+ depends on ARCH_OMAP2PLUS
default ARCH_OMAP2PLUS
select CPU_FREQ_TABLE