diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 16 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/clock.h | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 6a1737a74477..9833d73511a1 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -76,22 +76,6 @@ out: | |||
76 | } | 76 | } |
77 | EXPORT_SYMBOL(clk_disable); | 77 | EXPORT_SYMBOL(clk_disable); |
78 | 78 | ||
79 | int clk_get_usecount(struct clk *clk) | ||
80 | { | ||
81 | unsigned long flags; | ||
82 | int ret = 0; | ||
83 | |||
84 | if (clk == NULL || IS_ERR(clk)) | ||
85 | return 0; | ||
86 | |||
87 | spin_lock_irqsave(&clockfw_lock, flags); | ||
88 | ret = clk->usecount; | ||
89 | spin_unlock_irqrestore(&clockfw_lock, flags); | ||
90 | |||
91 | return ret; | ||
92 | } | ||
93 | EXPORT_SYMBOL(clk_get_usecount); | ||
94 | |||
95 | unsigned long clk_get_rate(struct clk *clk) | 79 | unsigned long clk_get_rate(struct clk *clk) |
96 | { | 80 | { |
97 | unsigned long flags; | 81 | unsigned long flags; |
diff --git a/arch/arm/plat-omap/include/mach/clock.h b/arch/arm/plat-omap/include/mach/clock.h index af6ae4fa46d6..0ba28462a497 100644 --- a/arch/arm/plat-omap/include/mach/clock.h +++ b/arch/arm/plat-omap/include/mach/clock.h | |||
@@ -124,7 +124,6 @@ extern void clk_unregister(struct clk *clk); | |||
124 | extern void propagate_rate(struct clk *clk); | 124 | extern void propagate_rate(struct clk *clk); |
125 | extern void recalculate_root_clocks(void); | 125 | extern void recalculate_root_clocks(void); |
126 | extern void followparent_recalc(struct clk *clk); | 126 | extern void followparent_recalc(struct clk *clk); |
127 | extern int clk_get_usecount(struct clk *clk); | ||
128 | extern void clk_enable_init_clocks(void); | 127 | extern void clk_enable_init_clocks(void); |
129 | #ifdef CONFIG_CPU_FREQ | 128 | #ifdef CONFIG_CPU_FREQ |
130 | extern void clk_init_cpufreq_table(struct cpufreq_frequency_table **table); | 129 | extern void clk_init_cpufreq_table(struct cpufreq_frequency_table **table); |