diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 673a4c1d1d76..8d15f9ae19ff 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -265,6 +265,12 @@ static void __init omap4_init_voltages(void) | |||
265 | omap2_set_init_voltage("iva", "dpll_iva_m5x2_ck", "iva"); | 265 | omap2_set_init_voltage("iva", "dpll_iva_m5x2_ck", "iva"); |
266 | } | 266 | } |
267 | 267 | ||
268 | static inline void omap_init_cpufreq(void) | ||
269 | { | ||
270 | struct platform_device_info devinfo = { .name = "omap-cpufreq", }; | ||
271 | platform_device_register_full(&devinfo); | ||
272 | } | ||
273 | |||
268 | static int __init omap2_common_pm_init(void) | 274 | static int __init omap2_common_pm_init(void) |
269 | { | 275 | { |
270 | if (!of_have_populated_dt()) | 276 | if (!of_have_populated_dt()) |
@@ -294,6 +300,9 @@ int __init omap2_common_pm_late_init(void) | |||
294 | 300 | ||
295 | /* Smartreflex device init */ | 301 | /* Smartreflex device init */ |
296 | omap_devinit_smartreflex(); | 302 | omap_devinit_smartreflex(); |
303 | |||
304 | /* cpufreq dummy device instantiation */ | ||
305 | omap_init_cpufreq(); | ||
297 | } | 306 | } |
298 | 307 | ||
299 | #ifdef CONFIG_SUSPEND | 308 | #ifdef CONFIG_SUSPEND |