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/cm3xxx.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/cm3xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/cm3xxx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/cm3xxx.c b/arch/arm/mach-omap2/cm3xxx.c index 6a3c01e16274..018063b96cbc 100644 --- a/arch/arm/mach-omap2/cm3xxx.c +++ b/arch/arm/mach-omap2/cm3xxx.c | |||
@@ -42,7 +42,7 @@ static void _write_clktrctrl(u8 c, s16 module, u32 mask) | |||
42 | omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL); | 42 | omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL); |
43 | } | 43 | } |
44 | 44 | ||
45 | bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) | 45 | static bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) |
46 | { | 46 | { |
47 | u32 v; | 47 | u32 v; |
48 | 48 | ||
@@ -53,22 +53,22 @@ bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) | |||
53 | return (v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) ? 1 : 0; | 53 | return (v == OMAP34XX_CLKSTCTRL_ENABLE_AUTO) ? 1 : 0; |
54 | } | 54 | } |
55 | 55 | ||
56 | void omap3xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) | 56 | static void omap3xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) |
57 | { | 57 | { |
58 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, module, mask); | 58 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, module, mask); |
59 | } | 59 | } |
60 | 60 | ||
61 | void omap3xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) | 61 | static void omap3xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) |
62 | { | 62 | { |
63 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, module, mask); | 63 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, module, mask); |
64 | } | 64 | } |
65 | 65 | ||
66 | void omap3xxx_cm_clkdm_force_sleep(s16 module, u32 mask) | 66 | static void omap3xxx_cm_clkdm_force_sleep(s16 module, u32 mask) |
67 | { | 67 | { |
68 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, module, mask); | 68 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, module, mask); |
69 | } | 69 | } |
70 | 70 | ||
71 | void omap3xxx_cm_clkdm_force_wakeup(s16 module, u32 mask) | 71 | static void omap3xxx_cm_clkdm_force_wakeup(s16 module, u32 mask) |
72 | { | 72 | { |
73 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, module, mask); | 73 | _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, module, mask); |
74 | } | 74 | } |