[PATCH 28/30] ARM: omap: select CPU_FREQ_TABLE where needed

Arnd Bergmann
2011-10-02T14:50:27Z

The omap platform requires CPU_FREQ_TABLE support to be enabled for its
CPU_FREQ implementations, so automatically select that when CPU_FREQ
is enabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/plat-omap/Kconfig | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index bb8f4a6..f7ef9f4 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -217,6 +217,11 @@ config OMAP_PM_NOOP

endchoice

+config OMAP_CPU_FREQ
+ def_bool "y"
+ depends on CPU_FREQ
+ select CPU_FREQ_TABLE
+
endmenu

endif
--
1.7.5.4