diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-15 14:01:11 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-02-21 19:32:24 -0500 |
commit | b09db45c56c299438a09b85c06067d7dcd951ea4 (patch) | |
tree | ec6ff3b9800e5abb2f621d620f777acea5c271a7 /drivers/cpufreq | |
parent | b01543dfe67bb1d191998e90d20534dc354de059 (diff) |
cpufreq: OMAP driver depends CPUfreq tables
The OMAP driver depends on CPUfreq table support for creating a table
of frequencies from the OPP layer. Ensure that it's build to avoid
link-time errors.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
[khilman@ti.com: make user-selectable, but default y]
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/Kconfig.arm | 5 | ||||
-rw-r--r-- | drivers/cpufreq/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index e0664fed018a..82f1aa9c3b6f 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm | |||
@@ -2,6 +2,11 @@ | |||
2 | # ARM CPU Frequency scaling drivers | 2 | # ARM CPU Frequency scaling drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | config ARM_OMAP2PLUS_CPUFREQ | ||
6 | bool "TI OMAP2+" | ||
7 | default ARCH_OMAP2PLUS | ||
8 | select CPU_FREQ_TABLE | ||
9 | |||
5 | config ARM_S3C64XX_CPUFREQ | 10 | config ARM_S3C64XX_CPUFREQ |
6 | bool "Samsung S3C64XX" | 11 | bool "Samsung S3C64XX" |
7 | depends on CPU_S3C6410 | 12 | depends on CPU_S3C6410 |
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index ac000fa76bbb..fda94c74eab0 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
@@ -44,7 +44,7 @@ obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o | |||
44 | obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o | 44 | obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o |
45 | obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += exynos-cpufreq.o | 45 | obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += exynos-cpufreq.o |
46 | obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o | 46 | obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o |
47 | obj-$(CONFIG_ARCH_OMAP2PLUS) += omap-cpufreq.o | 47 | obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o |
48 | 48 | ||
49 | ################################################################################## | 49 | ################################################################################## |
50 | # PowerPC platform drivers | 50 | # PowerPC platform drivers |