linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [CPUFREQ] Fix exposure of ARM_EXYNOS4210_CPUFREQ
@ 2012-02-13  9:49 Russell King - ARM Linux
  2012-02-16 12:17 ` Kukjin Kim
  0 siblings, 1 reply; 16+ messages in thread
From: Russell King - ARM Linux @ 2012-02-13  9:49 UTC (permalink / raw)
  To: linux-arm-kernel

From: Russell King <rmk+kernel@arm.linux.org.uk>

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 <rmk+kernel@arm.linux.org.uk>
Cc: Dave Jones <davej@redhat.com>
Cc: cpufreq at vger.kernel.org
Cc: Kukjin Kim <kgene.kim@samsung.com>
---
 drivers/cpufreq/Kconfig.arm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index e0664fe..c8bde43 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).

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-04-04 17:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13  9:49 [CPUFREQ] Fix exposure of ARM_EXYNOS4210_CPUFREQ Russell King - ARM Linux
2012-02-16 12:17 ` Kukjin Kim
2012-02-16 16:02   ` Russell King - ARM Linux
2012-02-21 10:35     ` Kukjin Kim
2012-03-27  7:49       ` Russell King - ARM Linux
2012-03-29  0:59         ` Kukjin Kim
2012-04-04 14:52           ` Russell King - ARM Linux
2012-04-04 14:59             ` 'Dave Jones'
2012-04-04 15:03               ` Russell King - ARM Linux
2012-04-04 15:07                 ` Russell King - ARM Linux
2012-04-04 15:13                   ` Russell King - ARM Linux
2012-04-04 16:48                     ` Kukjin Kim
2012-04-04 16:43                   ` Kukjin Kim
2012-04-04 16:39                 ` Kukjin Kim
2012-04-04 17:05               ` Kukjin Kim
2012-04-04 17:22                 ` 'Dave Jones'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).