diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-10-27 11:39:24 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-10-27 11:39:24 -0400 |
commit | f2650d6e4fb797b436af5999ea89aa279712544b (patch) | |
tree | ab61c6fe26d6cda42898c3c631e782245e4aa041 /arch/arm/mach-omap2/cminst44xx.c | |
parent | a8ae5afa5cb820afa251b9acfe3f0a938b6a6c0d (diff) |
ARM: OMAP2+: CM: make clkdm_hwsup operations static
These are not accessed outside the cm*.c files themselves, so make them
static.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cminst44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/cminst44xx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/cminst44xx.c b/arch/arm/mach-omap2/cminst44xx.c index 7ae1cc22eb5c..b189a2b46808 100644 --- a/arch/arm/mach-omap2/cminst44xx.c +++ b/arch/arm/mach-omap2/cminst44xx.c | |||
@@ -198,7 +198,7 @@ static void _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) | |||
198 | * Returns true if the clockdomain referred to by (@part, @inst, @cdoffs) | 198 | * Returns true if the clockdomain referred to by (@part, @inst, @cdoffs) |
199 | * is in hardware-supervised idle mode, or 0 otherwise. | 199 | * is in hardware-supervised idle mode, or 0 otherwise. |
200 | */ | 200 | */ |
201 | bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) | 201 | static bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) |
202 | { | 202 | { |
203 | u32 v; | 203 | u32 v; |
204 | 204 | ||
@@ -218,7 +218,7 @@ bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) | |||
218 | * Put a clockdomain referred to by (@part, @inst, @cdoffs) into | 218 | * Put a clockdomain referred to by (@part, @inst, @cdoffs) into |
219 | * hardware-supervised idle mode. No return value. | 219 | * hardware-supervised idle mode. No return value. |
220 | */ | 220 | */ |
221 | void omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs) | 221 | static void omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs) |
222 | { | 222 | { |
223 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, part, inst, cdoffs); | 223 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, part, inst, cdoffs); |
224 | } | 224 | } |
@@ -233,7 +233,7 @@ void omap4_cminst_clkdm_enable_hwsup(u8 part, u16 inst, u16 cdoffs) | |||
233 | * software-supervised idle mode, i.e., controlled manually by the | 233 | * software-supervised idle mode, i.e., controlled manually by the |
234 | * Linux OMAP clockdomain code. No return value. | 234 | * Linux OMAP clockdomain code. No return value. |
235 | */ | 235 | */ |
236 | void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs) | 236 | static void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs) |
237 | { | 237 | { |
238 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, part, inst, cdoffs); | 238 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, part, inst, cdoffs); |
239 | } | 239 | } |
@@ -247,7 +247,7 @@ void omap4_cminst_clkdm_disable_hwsup(u8 part, u16 inst, u16 cdoffs) | |||
247 | * Take a clockdomain referred to by (@part, @inst, @cdoffs) out of idle, | 247 | * Take a clockdomain referred to by (@part, @inst, @cdoffs) out of idle, |
248 | * waking it up. No return value. | 248 | * waking it up. No return value. |
249 | */ | 249 | */ |
250 | void omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs) | 250 | static void omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs) |
251 | { | 251 | { |
252 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, part, inst, cdoffs); | 252 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, part, inst, cdoffs); |
253 | } | 253 | } |
@@ -256,7 +256,7 @@ void omap4_cminst_clkdm_force_wakeup(u8 part, u16 inst, u16 cdoffs) | |||
256 | * | 256 | * |
257 | */ | 257 | */ |
258 | 258 | ||
259 | void omap4_cminst_clkdm_force_sleep(u8 part, u16 inst, u16 cdoffs) | 259 | static void omap4_cminst_clkdm_force_sleep(u8 part, u16 inst, u16 cdoffs) |
260 | { | 260 | { |
261 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, part, inst, cdoffs); | 261 | _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, part, inst, cdoffs); |
262 | } | 262 | } |