From 3c26c89201d6004b8341e7eb90dbfe05e000ea38 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 12 Mar 2014 19:33:01 +0000 Subject: [PATCH] ralink: add missing clk_set_rate() Signed-off-by: John Crispin SVN-Revision: 39896 --- target/linux/ramips/patches-3.10/999-clk.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/ramips/patches-3.10/999-clk.patch diff --git a/target/linux/ramips/patches-3.10/999-clk.patch b/target/linux/ramips/patches-3.10/999-clk.patch new file mode 100644 index 0000000000..22ac33aa54 --- /dev/null +++ b/target/linux/ramips/patches-3.10/999-clk.patch @@ -0,0 +1,17 @@ +Index: linux-3.10.32/arch/mips/ralink/clk.c +=================================================================== +--- linux-3.10.32.orig/arch/mips/ralink/clk.c 2014-03-12 03:04:05.468396764 +0000 ++++ linux-3.10.32/arch/mips/ralink/clk.c 2014-03-12 03:29:00.220416177 +0000 +@@ -56,6 +56,12 @@ + } + 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; -- 2.30.2