cpufreq: highbank: fix ARM_HIGHBANK_CPUFREQ dependency warning
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 9 Apr 2014 02:34:33 +0000 (10:34 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Apr 2014 22:09:09 +0000 (00:09 +0200)
commitd76ae2eabca5ff112bb58de8a7d52b70f8bb0608
tree860ccc247f9561942cd1a2cb22c3888c2d0de100
parent1612343a264b2791f4602f4b47dac853e0892ec0
cpufreq: highbank: fix ARM_HIGHBANK_CPUFREQ dependency warning

When make ARCH=arm multi_v7_defconfig, we get the following warnings:

warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has
unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK
&& REGULATOR && OF && THERMAL && CPU_THERMAL)

To fix this, make ARM_HIGHBANK_CPUFREQ depend on ARCH_HAS_CPUFREQ and
REGULATOR instead of selecting them, PM_OPP will be selected by ARCH_HAS_CPUFREQ.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm