aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cm33xx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-10-27 11:39:24 -0400
committerTony Lindgren <tony@atomide.com>2014-10-27 11:39:24 -0400
commitf2650d6e4fb797b436af5999ea89aa279712544b (patch)
treeab61c6fe26d6cda42898c3c631e782245e4aa041 /arch/arm/mach-omap2/cm33xx.c
parenta8ae5afa5cb820afa251b9acfe3f0a938b6a6c0d (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/cm33xx.c')
-rw-r--r--arch/arm/mach-omap2/cm33xx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/cm33xx.c b/arch/arm/mach-omap2/cm33xx.c
index d57fa5fe9e51..ffdcb7abf092 100644
--- a/arch/arm/mach-omap2/cm33xx.c
+++ b/arch/arm/mach-omap2/cm33xx.c
@@ -156,7 +156,7 @@ static void _clktrctrl_write(u8 c, u16 inst, u16 cdoffs)
156 * Returns true if the clockdomain referred to by (@inst, @cdoffs) 156 * Returns true if the clockdomain referred to by (@inst, @cdoffs)
157 * is in hardware-supervised idle mode, or 0 otherwise. 157 * is in hardware-supervised idle mode, or 0 otherwise.
158 */ 158 */
159bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs) 159static bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs)
160{ 160{
161 u32 v; 161 u32 v;
162 162
@@ -175,7 +175,7 @@ bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs)
175 * Put a clockdomain referred to by (@inst, @cdoffs) into 175 * Put a clockdomain referred to by (@inst, @cdoffs) into
176 * hardware-supervised idle mode. No return value. 176 * hardware-supervised idle mode. No return value.
177 */ 177 */
178void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs) 178static void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs)
179{ 179{
180 _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, inst, cdoffs); 180 _clktrctrl_write(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, inst, cdoffs);
181} 181}
@@ -189,7 +189,7 @@ void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs)
189 * software-supervised idle mode, i.e., controlled manually by the 189 * software-supervised idle mode, i.e., controlled manually by the
190 * Linux OMAP clockdomain code. No return value. 190 * Linux OMAP clockdomain code. No return value.
191 */ 191 */
192void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs) 192static void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs)
193{ 193{
194 _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, inst, cdoffs); 194 _clktrctrl_write(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, inst, cdoffs);
195} 195}
@@ -202,7 +202,7 @@ void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs)
202 * Put a clockdomain referred to by (@inst, @cdoffs) into idle 202 * Put a clockdomain referred to by (@inst, @cdoffs) into idle
203 * No return value. 203 * No return value.
204 */ 204 */
205void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs) 205static void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs)
206{ 206{
207 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, inst, cdoffs); 207 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, inst, cdoffs);
208} 208}
@@ -215,7 +215,7 @@ void am33xx_cm_clkdm_force_sleep(u16 inst, u16 cdoffs)
215 * Take a clockdomain referred to by (@inst, @cdoffs) out of idle, 215 * Take a clockdomain referred to by (@inst, @cdoffs) out of idle,
216 * waking it up. No return value. 216 * waking it up. No return value.
217 */ 217 */
218void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs) 218static void am33xx_cm_clkdm_force_wakeup(u16 inst, u16 cdoffs)
219{ 219{
220 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, inst, cdoffs); 220 _clktrctrl_write(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, inst, cdoffs);
221} 221}