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 dec553349ae2..e742118fcfd2 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -264,6 +264,12 @@ static void __init omap4_init_voltages(void) | |||
264 | omap2_set_init_voltage("iva", "dpll_iva_m5x2_ck", "iva"); | 264 | omap2_set_init_voltage("iva", "dpll_iva_m5x2_ck", "iva"); |
265 | } | 265 | } |
266 | 266 | ||
267 | static inline void omap_init_cpufreq(void) | ||
268 | { | ||
269 | struct platform_device_info devinfo = { .name = "omap-cpufreq", }; | ||
270 | platform_device_register_full(&devinfo); | ||
271 | } | ||
272 | |||
267 | static int __init omap2_common_pm_init(void) | 273 | static int __init omap2_common_pm_init(void) |
268 | { | 274 | { |
269 | if (!of_have_populated_dt()) | 275 | if (!of_have_populated_dt()) |
@@ -293,6 +299,9 @@ int __init omap2_common_pm_late_init(void) | |||
293 | 299 | ||
294 | /* Smartreflex device init */ | 300 | /* Smartreflex device init */ |
295 | omap_devinit_smartreflex(); | 301 | omap_devinit_smartreflex(); |
302 | |||
303 | /* cpufreq dummy device instantiation */ | ||
304 | omap_init_cpufreq(); | ||
296 | } | 305 | } |
297 | 306 | ||
298 | #ifdef CONFIG_SUSPEND | 307 | #ifdef CONFIG_SUSPEND |