diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-04 13:09:03 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-04 13:09:03 -0400 |
commit | 2d1f6310d499f8d23e6726292c89380bd1d9693e (patch) | |
tree | c0b01f43145b9f93b7d4ad0f116306214aa1a70b /drivers/cpufreq | |
parent | dd775ae2549217d3ae09363e3edb305d0fa19928 (diff) |
EXYNOS: fix dependency for EXYNOS_CPUFREQ
This fixes the CPUFREQ dependency for regarding EXYNOS SoCs
such as EXYNOS4210, EXYNOS4X12 and EXYNOS5250. Its cpufreq
driver should be built with selection of SoC arch part.
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/Kconfig.arm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 32d790dd818..ffbb4468591 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm | |||
@@ -51,9 +51,6 @@ config ARM_S5PV210_CPUFREQ | |||
51 | config ARM_EXYNOS_CPUFREQ | 51 | config ARM_EXYNOS_CPUFREQ |
52 | bool "SAMSUNG EXYNOS SoCs" | 52 | bool "SAMSUNG EXYNOS SoCs" |
53 | depends on ARCH_EXYNOS | 53 | depends on ARCH_EXYNOS |
54 | select ARM_EXYNOS4210_CPUFREQ if CPU_EXYNOS4210 | ||
55 | select ARM_EXYNOS4X12_CPUFREQ if (SOC_EXYNOS4212 || SOC_EXYNOS4412) | ||
56 | select ARM_EXYNOS5250_CPUFREQ if SOC_EXYNOS5250 | ||
57 | default y | 54 | default y |
58 | help | 55 | help |
59 | This adds the CPUFreq driver common part for Samsung | 56 | This adds the CPUFreq driver common part for Samsung |
@@ -62,20 +59,19 @@ config ARM_EXYNOS_CPUFREQ | |||
62 | If in doubt, say N. | 59 | If in doubt, say N. |
63 | 60 | ||
64 | config ARM_EXYNOS4210_CPUFREQ | 61 | config ARM_EXYNOS4210_CPUFREQ |
65 | bool "Samsung EXYNOS4210" | 62 | def_bool CPU_EXYNOS4210 |
66 | depends on ARCH_EXYNOS | ||
67 | help | 63 | help |
68 | This adds the CPUFreq driver for Samsung EXYNOS4210 | 64 | This adds the CPUFreq driver for Samsung EXYNOS4210 |
69 | SoC (S5PV310 or S5PC210). | 65 | SoC (S5PV310 or S5PC210). |
70 | 66 | ||
71 | config ARM_EXYNOS4X12_CPUFREQ | 67 | config ARM_EXYNOS4X12_CPUFREQ |
72 | bool "Samsung EXYNOS4X12" | 68 | def_bool (SOC_EXYNOS4212 || SOC_EXYNOS4412) |
73 | help | 69 | help |
74 | This adds the CPUFreq driver for Samsung EXYNOS4X12 | 70 | This adds the CPUFreq driver for Samsung EXYNOS4X12 |
75 | SoC (EXYNOS4212 or EXYNOS4412). | 71 | SoC (EXYNOS4212 or EXYNOS4412). |
76 | 72 | ||
77 | config ARM_EXYNOS5250_CPUFREQ | 73 | config ARM_EXYNOS5250_CPUFREQ |
78 | bool "Samsung EXYNOS5250" | 74 | def_bool SOC_EXYNOS5250 |
79 | help | 75 | help |
80 | This adds the CPUFreq driver for Samsung EXYNOS5250 | 76 | This adds the CPUFreq driver for Samsung EXYNOS5250 |
81 | SoC. | 77 | SoC. |