aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2010-12-09 10:13:47 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-21 17:30:40 -0500
commitf5a6422d4e0e85a9c7f5522d3321254bfdfa7f04 (patch)
treefc8b5bb5b1beae385b7f150159d70e52b287fdd8 /arch/arm/mach-omap2/pm.h
parentfd1478cd61624479c89e35602925459d74505ff3 (diff)
omap4: opp: add OPP table data
This patch adds OPP tables for OMAP4. New file has been added to keep the OMAP4 opp tables and the registration of these tables with the generic opp framework by OMAP SoC OPP interface. Based on: http://dev.omapzoom.org/?p=santosh/kernel-omap4-base.git;a=blob;f=arch/arm/mach-omap2/opp44xx_data.c;h=252e3d0cb6050a64f390b9311c1c4977d74f762a;hb=refs/heads/omap4_next Signed-off-by: Thara Gopinath <thara@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r--arch/arm/mach-omap2/pm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 2031f157a6ee..a43e0697b6bc 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -22,11 +22,16 @@ extern int omap3_idle_init(void);
22 22
23#if defined(CONFIG_PM_OPP) 23#if defined(CONFIG_PM_OPP)
24extern int omap3_opp_init(void); 24extern int omap3_opp_init(void);
25extern int omap4_opp_init(void);
25#else 26#else
26static inline int omap3_opp_init(void) 27static inline int omap3_opp_init(void)
27{ 28{
28 return -EINVAL; 29 return -EINVAL;
29} 30}
31static inline int omap4_opp_init(void)
32{
33 return -EINVAL;
34}
30#endif 35#endif
31 36
32struct cpuidle_params { 37struct cpuidle_params {