projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d1112
)
MIPS: ralink: add missing clk_set_rate() to clk.c
author
John Crispin
<blogic@openwrt.org>
Sun, 16 Mar 2014 04:38:07 +0000
(
04:38
+0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:20 +0000
(07:45 +0100)
This function was missing causing make allmod to fail.
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/8005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/clk.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/ralink/clk.c
b/arch/mips/ralink/clk.c
index 5d0983d47161c183033b9943eada1edb93b797a3..feb5a9bf98b4bc316a8e568635613e02fd262b68 100644
(file)
--- a/
arch/mips/ralink/clk.c
+++ b/
arch/mips/ralink/clk.c
@@
-56,6
+56,12
@@
unsigned long clk_get_rate(struct clk *clk)
}
EXPORT_SYMBOL_GPL(clk_get_rate);
+int clk_set_rate(struct clk *clk, unsigned long rate)
+{
+ return -1;
+}
+EXPORT_SYMBOL_GPL(clk_set_rate);
+
void __init plat_time_init(void)
{
struct clk *clk;