diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2012-09-24 16:43:17 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-10-29 11:05:12 -0700 |
commit | 686f871b7109e7e253a7a1cef542c00d0ed1a323 (patch) | |
tree | a4681e04d2b4e426316d1d481f3b6dcc84522e05 /include/linux/mfd/dbx500-prcmu.h | |
parent | 2ac6b1f50a397580b8dc28f2833e54af7926fc71 (diff) | |
download | lwn-686f871b7109e7e253a7a1cef542c00d0ed1a323.tar.gz lwn-686f871b7109e7e253a7a1cef542c00d0ed1a323.zip |
mfd: dbx500: Export prmcu_request_ape_opp_100_voltage
This function needs to be exported to let clients be able to
request the ape opp 100 voltage.
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/mfd/dbx500-prcmu.h')
-rw-r--r-- | include/linux/mfd/dbx500-prcmu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index c410d99bd667..c202d6c4d879 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -336,6 +336,11 @@ static inline int prcmu_get_ape_opp(void) return db8500_prcmu_get_ape_opp(); } +static inline int prcmu_request_ape_opp_100_voltage(bool enable) +{ + return db8500_prcmu_request_ape_opp_100_voltage(enable); +} + static inline void prcmu_system_reset(u16 reset_code) { return db8500_prcmu_system_reset(reset_code); @@ -507,6 +512,11 @@ static inline int prcmu_get_ape_opp(void) return APE_100_OPP; } +static inline int prcmu_request_ape_opp_100_voltage(bool enable) +{ + return 0; +} + static inline int prcmu_set_arm_opp(u8 opp) { return 0; |