Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Mark Langsdorf and committed by
Rafael J. Wysocki
fbbc5bfb 006454ae

+2 -1
+2 -1
drivers/cpufreq/highbank-cpufreq.c
··· 66 66 struct device_node *np; 67 67 int ret; 68 68 69 - if (!of_machine_is_compatible("calxeda,highbank")) 69 + if ((!of_machine_is_compatible("calxeda,highbank")) && 70 + (!of_machine_is_compatible("calxeda,ecx-2000"))) 70 71 return -ENODEV; 71 72 72 73 cpu_dev = get_cpu_device(0);