Skip to content

Commit

Permalink
MIPS: Lantiq: Platform specific CLK fixup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Crispin authored and ralfbaechle committed Aug 1, 2012
1 parent a9188bc commit b902d9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/mips/lantiq/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b902d9a

Please sign in to comment.