mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39896 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
17
target/linux/ramips/patches-3.10/999-clk.patch
Normal file
17
target/linux/ramips/patches-3.10/999-clk.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user