summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorVishwanath BS <vishwanath.bs@ti.com>2011-03-31 18:31:06 +0530
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-04-01 23:03:00 -0400
commit01c67c944c371fb7091097e6c47333d319f8af4f (patch)
tree6da11a79e818a4771e292d39653b27ff8c0423c2 /arch/arm/plat-omap
parent740bcc9b2580f68c9304542d1dc528686c8d3993 (diff)
OMAP PM: Initialise voltage domain as part of common infrastructure
RIght now voltage layer is initialized as part of core init which is too late for devices to register with voltage domain as part of hwmod init. So moving voltage layer initialization as part of common infrastructure init. Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/voltage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h
index 6e2a69614d4..965b3c2d1a3 100644
--- a/arch/arm/plat-omap/include/plat/voltage.h
+++ b/arch/arm/plat-omap/include/plat/voltage.h
@@ -290,5 +290,7 @@ static inline struct voltagedomain *omap_voltage_domain_lookup(char *name)
return ERR_PTR(-EINVAL);
}
#endif
+int __init omap3xxx_voltage_early_init(void);
+int __init omap44xx_voltage_early_init(void);
#endif