Commit 744120aa authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: Lantiq: Add missing clk_enable and clk_disable functions.

Signed-of-by: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2465/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent de883972
...@@ -100,6 +100,19 @@ void clk_put(struct clk *clk) ...@@ -100,6 +100,19 @@ void clk_put(struct clk *clk)
} }
EXPORT_SYMBOL(clk_put); 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) static inline u32 ltq_get_counter_resolution(void)
{ {
u32 res; u32 res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment