diff options
author | Mark Langsdorf <mark.langsdorf@calxeda.com> | 2013-10-01 11:30:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 13:57:18 -0500 |
commit | 16802f7ac3a42b6e97af4e9b203adfa7bbb25994 (patch) | |
tree | 78021c9ad4837781426d4c2c3b462ea852839749 | |
parent | c2dd82b43dcc08aad0e139e23509efb195ad6fc1 (diff) |
cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
commit fbbc5bfb44a22e7a8ef753a1c8dfb448d7ac8b85 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>
-rw-r--r-- | drivers/cpufreq/highbank-cpufreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/highbank-cpufreq.c b/drivers/cpufreq/highbank-cpufreq.c index b61b5a3fad64..8c4771da1b89 100644 --- a/drivers/cpufreq/highbank-cpufreq.c +++ b/drivers/cpufreq/highbank-cpufreq.c | |||
@@ -66,7 +66,8 @@ static int hb_cpufreq_driver_init(void) | |||
66 | struct device_node *np; | 66 | struct device_node *np; |
67 | int ret; | 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 | return -ENODEV; | 71 | return -ENODEV; |
71 | 72 | ||
72 | for_each_child_of_node(of_find_node_by_path("/cpus"), np) | 73 | for_each_child_of_node(of_find_node_by_path("/cpus"), np) |