]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
MIPS: Lantiq: Add missing clk_enable and clk_disable functions.
authorJohn Crispin <blogic@openwrt.org>
Thu, 9 Jun 2011 18:15:21 +0000 (20:15 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 20 Jul 2011 22:12:12 +0000 (23:12 +0100)
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>
arch/mips/lantiq/clk.c

index 94560899d13e4b06c30580d1a438cf5db16dd579..7e9c0ffc11a51c42bd58b1f465d54481aab6023c 100644 (file)
@@ -100,6 +100,19 @@ void clk_put(struct clk *clk)
 }
 EXPORT_SYMBOL(clk_put);
 
+int clk_enable(struct clk *clk)
+{
+       /* not used */
+       return 0;
+}
+EXPORT_SYMBOL(clk_enable);
+
+void clk_disable(struct clk *clk)
+{
+       /* not used */
+}
+EXPORT_SYMBOL(clk_disable);
+
 static inline u32 ltq_get_counter_resolution(void)
 {
        u32 res;