[PATCH 3/2] ARM: shmobile: r8a7790: add a "cpufreq-cpu0" platform device
Guennadi Liakhovetski
g.liakhovetski at gmx.de
Tue May 21 06:37:42 EDT 2013
Add a "cpufreq-cpu0" platform device, needed to activate the equally named
CPUFreq driver.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas at gmail.com>
---
It can actually be merged with patch 1 from this series
arch/arm/mach-shmobile/setup-r8a7790.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index eeef5f6..49c3166 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -166,6 +166,7 @@ void __init r8a7790_timer_init(void)
#ifdef CONFIG_USE_OF
void __init r8a7790_add_standard_devices_dt(void)
{
+ platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
--
1.7.2.5
More information about the linux-arm-kernel
mailing list