summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/powerdomain.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-03-16 15:52:47 -0700
committerKevin Hilman <khilman@ti.com>2011-09-15 11:39:10 -0700
commit048a7034f1044e69868df70bff32d8d67974e1b8 (patch)
tree0a0de2cfd9d7d5b645c36c2cf6670678842d2e0f /arch/arm/mach-omap2/powerdomain.h
parent7e1b94059cea39218071fdb78c4075b83d52e222 (diff)
OMAP2+: powerdomain: add voltage domain lookup during register
When a powerdomain is registered, lookup the voltage domain by name and keep a pointer to the containing voltagedomain in the powerdomain structure. Modeled after similar method between powerdomain and clockdomain layers. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomain.h')
-rw-r--r--arch/arm/mach-omap2/powerdomain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.h b/arch/arm/mach-omap2/powerdomain.h
index 898d4fc0d160..d8a7f914d9b3 100644
--- a/arch/arm/mach-omap2/powerdomain.h
+++ b/arch/arm/mach-omap2/powerdomain.h
@@ -183,6 +183,7 @@ int pwrdm_del_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm);
int pwrdm_for_each_clkdm(struct powerdomain *pwrdm,
int (*fn)(struct powerdomain *pwrdm,
struct clockdomain *clkdm));
+struct voltagedomain *pwrdm_get_voltdm(struct powerdomain *pwrdm);
int pwrdm_get_mem_bank_count(struct powerdomain *pwrdm);