From 7a4ebf4705632ce917b0a2763cce983887f68f6d Mon Sep 17 00:00:00 2001 From: Vladimir Tsunaev Date: Mon, 7 Apr 2014 17:49:04 -0400 Subject: IKXCLOCK-679 Add clock for VC VP and device omap_pmic Change-Id: I1d6cf816aa9115a0a2baf9762162336d4204c071 Signed-off-by: Vladimir Tsunaev --- arch/arm/mach-omap2/pm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/mach-omap2/pm.c') diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index ce40d586464..f99dcf391e2 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -17,6 +17,7 @@ #include #include #include +#include #include @@ -308,6 +309,13 @@ int __init omap2_common_pm_late_init(void) /* Smartreflex device init */ omap_devinit_smartreflex(); + } else { + struct device_node *np; + np = of_find_node_by_name(NULL, "omap_pimic"); + if (np) { + of_platform_populate(np, NULL, NULL, NULL); + of_node_put(np); + } } /* cpufreq dummy device instantiation */ -- cgit v1.2.3-70-g09d2