mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
commit fbbc5bfb44 upstream.
Calxeda's new ECX-2000 part uses the same cpufreq interface as highbank,
so add it to the driver's compatibility list.
This is a minor change that can safely be applied to the 3.10 and 3.11
stable trees.
Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c2dd82b43d
commit
16802f7ac3
@@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void)
|
||||
struct device_node *np;
|
||||
int ret;
|
||||
|
||||
if (!of_machine_is_compatible("calxeda,highbank"))
|
||||
if ((!of_machine_is_compatible("calxeda,highbank")) &&
|
||||
(!of_machine_is_compatible("calxeda,ecx-2000")))
|
||||
return -ENODEV;
|
||||
|
||||
for_each_child_of_node(of_find_node_by_path("/cpus"), np)
|
||||
|
||||
Reference in New Issue
Block a user