diff options
author | John Crispin <blogic@openwrt.org> | 2011-06-09 14:15:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-07-20 18:12:12 -0400 |
commit | 744120aadd60bc64a79b49681786b5e217dafbc1 (patch) | |
tree | 530d7e0c9ba910fc2e4a950f86a41fc1211c7a49 /arch/mips | |
parent | de8839728742a1745370b643f3ac771126dff12f (diff) |
MIPS: Lantiq: Add missing clk_enable and clk_disable functions.
Signed-of-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2465/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/lantiq/clk.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c index 94560899d13e..7e9c0ffc11a5 100644 --- a/arch/mips/lantiq/clk.c +++ b/arch/mips/lantiq/clk.c | |||
@@ -100,6 +100,19 @@ void clk_put(struct clk *clk) | |||
100 | } | 100 | } |
101 | EXPORT_SYMBOL(clk_put); | 101 | EXPORT_SYMBOL(clk_put); |
102 | 102 | ||
103 | int clk_enable(struct clk *clk) | ||
104 | { | ||
105 | /* not used */ | ||
106 | return 0; | ||
107 | } | ||
108 | EXPORT_SYMBOL(clk_enable); | ||
109 | |||
110 | void clk_disable(struct clk *clk) | ||
111 | { | ||
112 | /* not used */ | ||
113 | } | ||
114 | EXPORT_SYMBOL(clk_disable); | ||
115 | |||
103 | static inline u32 ltq_get_counter_resolution(void) | 116 | static inline u32 ltq_get_counter_resolution(void) |
104 | { | 117 | { |
105 | u32 res; | 118 | u32 res; |