diff options
author | Kevin Hilman <khilman@ti.com> | 2011-03-17 01:52:47 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 22:39:10 +0400 |
commit | 048a7034f1044e69868df70bff32d8d67974e1b8 (patch) | |
tree | 0a0de2cfd9d7d5b645c36c2cf6670678842d2e0f /arch/arm/mach-omap2/voltage.h | |
parent | 7e1b94059cea39218071fdb78c4075b83d52e222 (diff) | |
download | linux-048a7034f1044e69868df70bff32d8d67974e1b8.tar.xz |
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/voltage.h')
-rw-r--r-- | arch/arm/mach-omap2/voltage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/voltage.h b/arch/arm/mach-omap2/voltage.h index cacd76e1e2c3..966aa8880345 100644 --- a/arch/arm/mach-omap2/voltage.h +++ b/arch/arm/mach-omap2/voltage.h @@ -186,4 +186,5 @@ extern void omap44xx_voltagedomains_init(void); struct voltagedomain *voltdm_lookup(const char *name); void voltdm_init(struct voltagedomain **voltdm_list); +int voltdm_add_pwrdm(struct voltagedomain *voltdm, struct powerdomain *pwrdm); #endif |