omap: opp: add OMAP3 OPP table data and common init
[deliverable/linux.git] / arch / arm / mach-omap2 / pm.h
index 0d75bfd1fdbef77870ed8213e3376658f5fc1420..2031f157a6ee86924d617abd7128ed707ecc3574 100644 (file)
@@ -20,6 +20,15 @@ extern int omap3_can_sleep(void);
 extern int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state);
 extern int omap3_idle_init(void);
 
+#if defined(CONFIG_PM_OPP)
+extern int omap3_opp_init(void);
+#else
+static inline int omap3_opp_init(void)
+{
+       return -EINVAL;
+}
+#endif
+
 struct cpuidle_params {
        u8  valid;
        u32 sleep_latency;
This page took 0.025726 seconds and 5 git commands to generate.