From: Russell King Date: Mon, 13 Feb 2012 09:49:40 +0000 (+0000) Subject: [CPUFREQ] Fix exposure of ARM_EXYNOS4210_CPUFREQ X-Git-Tag: v3.4-rc1~101^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=063b0ee4026fe87ead0c5528b9c3186635268ec7;p=karo-tx-linux.git [CPUFREQ] Fix exposure of ARM_EXYNOS4210_CPUFREQ exynos4210-cpufreq.c is not buildable on non-exynos builds, so it's pointless allowing this option to be exposed. Fix this by adding a dependency on ARCH_EXYNOS. drivers/cpufreq/exynos4210-cpufreq.c:20:29: error: mach/regs-clock.h: No such file or directory drivers/cpufreq/exynos4210-cpufreq.c:21:26: error: mach/cpufreq.h: No such file or directory Signed-off-by: Russell King Cc: cpufreq@vger.kernel.org Cc: Kukjin Kim Signed-off-by: Dave Jones --- diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index e0664fed018a..c8bde43281c7 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -34,6 +34,7 @@ config ARM_EXYNOS_CPUFREQ config ARM_EXYNOS4210_CPUFREQ bool "Samsung EXYNOS4210" + depends on ARCH_EXYNOS help This adds the CPUFreq driver for Samsung EXYNOS4210 SoC (S5PV310 or S5PC210).