MIPS: Lantiq: Platform specific CLK fixup
authorJohn Crispin <blogic@openwrt.org>
Sun, 22 Jul 2012 06:56:01 +0000 (08:56 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Aug 2012 15:58:09 +0000 (17:58 +0200)
As we use CLKDEV_LOOKUP but dont have support for COMMON_CLK yet, we need to
provide our own version of of_clk_get_from_provider().

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4117/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/clk.c

index d3bcc33f4699ae7dcf8036bf70f0a6be19293d70..ce2f129b081f8886d64968350a77b6f4f51bf45e 100644 (file)
@@ -135,6 +135,11 @@ void clk_deactivate(struct clk *clk)
 }
 EXPORT_SYMBOL(clk_deactivate);
 
+struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec)
+{
+       return NULL;
+}
+
 static inline u32 get_counter_resolution(void)
 {
        u32 res;