[PATCH 2/2] ARM: mvebu: update cpufreq-dt's platform data

From: Leo Yan
Date: Tue Mar 03 2015 - 08:04:15 EST


Change to use cpufreq-dt's platform data of clk_domain_boundary; in
the old code the initial value is true, that means every CPU has the
dedicated clock. So assign as CPUFREQ_DT_CLK_PER_CPU.

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
---
arch/arm/mach-mvebu/pmsu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 8b9f5e2..1fd3f89 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -573,7 +573,7 @@ int mvebu_pmsu_dfs_request(int cpu)
}

struct cpufreq_dt_platform_data cpufreq_dt_pd = {
- .independent_clocks = true,
+ .clk_domain_boundary = CPUFREQ_DT_CLK_PER_CPU,
};

static int __init armada_xp_pmsu_cpufreq_init(void)
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/