Commit fbbc5bfb authored by Mark Langsdorf's avatar Mark Langsdorf Committed by Rafael J. Wysocki

cpufreq: highbank-cpufreq: Enable Midway/ECX-2000

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: default avatarMark Langsdorf <mark.langsdorf@calxeda.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 006454ae
...@@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void) ...@@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void)
struct device_node *np; struct device_node *np;
int ret; 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; return -ENODEV;
cpu_dev = get_cpu_device(0); cpu_dev = get_cpu_device(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment