diff options
author | Rajendra Nayak <rnayak@ti.com> | 2011-02-25 18:06:48 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-02-25 18:06:48 -0500 |
commit | 5cd1937b6d5990fe5d5287d925f05afd38e9fb02 (patch) | |
tree | bef088bf947646413c74f6d3d6ba28aa3921813e /arch/arm/mach-omap2/cpuidle34xx.c | |
parent | 68b921ad7f35e0323ce0d9fe94e5701a112f257c (diff) |
OMAP: clockdomain: Arch specific funcs for hwsup control of clkdm
Define the following architecture specific funtions for omap2/3/4
.clkdm_allow_idle
.clkdm_deny_idle
Convert the platform-independent framework to call these functions.
Also rename the api's by removing the omap2_ preamble.
Hence call omap2_clkdm_allow_idle as clkdm_allow_idle and
omap2_clkdm_deny_idle as clkdm_deny_idle.
Make the _clkdm_add_autodeps and _clkdm_del_autodeps as non-static
so they can be accessed from OMAP2/3 platform specific code.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cpuidle34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/cpuidle34xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index f7b22a16f385..7cc80715ef12 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c | |||
@@ -99,14 +99,14 @@ static int omap3_idle_bm_check(void) | |||
99 | static int _cpuidle_allow_idle(struct powerdomain *pwrdm, | 99 | static int _cpuidle_allow_idle(struct powerdomain *pwrdm, |
100 | struct clockdomain *clkdm) | 100 | struct clockdomain *clkdm) |
101 | { | 101 | { |
102 | omap2_clkdm_allow_idle(clkdm); | 102 | clkdm_allow_idle(clkdm); |
103 | return 0; | 103 | return 0; |
104 | } | 104 | } |
105 | 105 | ||
106 | static int _cpuidle_deny_idle(struct powerdomain *pwrdm, | 106 | static int _cpuidle_deny_idle(struct powerdomain *pwrdm, |
107 | struct clockdomain *clkdm) | 107 | struct clockdomain *clkdm) |
108 | { | 108 | { |
109 | omap2_clkdm_deny_idle(clkdm); | 109 | clkdm_deny_idle(clkdm); |
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |
112 | 112 | ||