[PATCH] ARM: rockchip: honor renaming of cpufreq-cpu0 to cpufreq-dt

Heiko Stübner heiko at sntech.de
Tue Sep 30 03:17:59 PDT 2014


cpufreq-cpu0 got renamed to a more generic name cpufreq-dt, so
adapt the created platform-device to this.

Reported-by: Viresh Kumar <viresh.kumar at linaro.org>
Signed-off-by: Heiko Stuebner <heiko at sntech.de>
---
This is for completenes sake, the patch I added to the cpufreqdev branch
as part of the pull request, handling the renamed cpufreq-cpu0 driver.


 arch/arm/mach-rockchip/rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c
index eea1f06..d226b71 100644
--- a/arch/arm/mach-rockchip/rockchip.c
+++ b/arch/arm/mach-rockchip/rockchip.c
@@ -27,7 +27,7 @@
 static void __init rockchip_dt_init(void)
 {
 	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-	platform_device_register_simple("cpufreq-cpu0", 0, NULL, 0);
+	platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
 }
 
 static const char * const rockchip_board_dt_compat[] = {
-- 
2.1.0





More information about the Linux-rockchip mailing list