summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2014-08-22 16:02:34 +0200
committerTony Lindgren <tony@atomide.com>2014-09-09 00:50:39 +0200
commit6af16a1dac5465cb63b3a7f0898ee03856afd311 (patch)
treed2fc1a9225ec52b6a99b4955558f63a66afd7ad5 /arch/arm/mach-omap2/common.h
parentMerge branch 'pull/v3.18/for-omap-soc' of https://github.com/nmenon/linux-2.6... (diff)
downloadlinux-6af16a1dac5465cb63b3a7f0898ee03856afd311.tar.xz
linux-6af16a1dac5465cb63b3a7f0898ee03856afd311.zip
ARM: DRA7: Add hook in SoC initcalls to enable pm initialization
With consolidated code, now we can add the required hooks for DRA7 to enable power management. Signed-off-by: Rajendra Nayak <rnayak@ti.com> [nm@ti.com: minor modifications] Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index 5bb15920f73a..b6d2989d27e2 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -60,7 +60,7 @@ static inline int omap3_pm_init(void)
}
#endif
-#if defined(CONFIG_PM) && (defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5))
+#if defined(CONFIG_PM) && (defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX))
int omap4_pm_init(void);
int omap4_pm_init_early(void);
#else