Commit e4a6a29d1250022a885123cc0a04bd176b508854
Committed by
Rafael J. Wysocki
1 parent
3d10a887de
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
ARM: shmobile: change dev_id to cpu0 while registering cpu clock
Currently all clkdev registration use "cpufreq-cpu0.0" as dev_id for cpu clock which refers to virtual platform device. It needs to be "cpu0" instead which is actual cpu0 device id. This patch changes the dev_id from "cpufreq-cpu0.0" to "cpu0". Reported-and-tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Magnus Damm <damm@opensource.se> Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
arch/arm/mach-shmobile/clock-r8a73a4.c
arch/arm/mach-shmobile/clock-sh73a0.c
... | ... | @@ -616,7 +616,7 @@ |
616 | 616 | CLKDEV_DEV_ID("smp_twd", &twd_clk), /* smp_twd */ |
617 | 617 | |
618 | 618 | /* DIV4 clocks */ |
619 | - CLKDEV_DEV_ID("cpufreq-cpu0", &div4_clks[DIV4_Z]), | |
619 | + CLKDEV_DEV_ID("cpu0", &div4_clks[DIV4_Z]), | |
620 | 620 | |
621 | 621 | /* DIV6 clocks */ |
622 | 622 | CLKDEV_CON_ID("vck1_clk", &div6_clks[DIV6_VCK1]), |