aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-07-22 02:56:01 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-08-01 11:58:09 -0400
commitb902d9a98e2bd0d3a2b7ddf7bca850b7f853569a (patch)
tree284e4b213d67e4ebc18011130b6cb1d29485763f /arch
parenta9188bc1628366bea7157209df93acc0f74625cc (diff)
MIPS: Lantiq: Platform specific CLK fixup
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/lantiq/clk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
index d3bcc33f4699..ce2f129b081f 100644
--- a/arch/mips/lantiq/clk.c
+++ b/arch/mips/lantiq/clk.c
@@ -135,6 +135,11 @@ void clk_deactivate(struct clk *clk)
135} 135}
136EXPORT_SYMBOL(clk_deactivate); 136EXPORT_SYMBOL(clk_deactivate);
137 137
138struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec)
139{
140 return NULL;
141}
142
138static inline u32 get_counter_resolution(void) 143static inline u32 get_counter_resolution(void)
139{ 144{
140 u32 res; 145 u32 res;