br2684ctl: add atm-bridge disabled option
[openwrt.git] / target / linux / ramips / patches-3.18 / 0006-MIPS-ralink-add-missing-clk_set_rate-to-clk.c.patch
1 From 979ad9f0324ad8fa5eb4a00b57d9feb061aa3200 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sun, 16 Mar 2014 04:38:07 +0000
4 Subject: [PATCH 06/57] MIPS: ralink: add missing clk_set_rate() to clk.c
5
6 This function was missing causing allmod to fail.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 ---
10  arch/mips/ralink/clk.c |    6 ++++++
11  1 file changed, 6 insertions(+)
12
13 --- a/arch/mips/ralink/clk.c
14 +++ b/arch/mips/ralink/clk.c
15 @@ -56,6 +56,12 @@ unsigned long clk_get_rate(struct clk *c
16  }
17  EXPORT_SYMBOL_GPL(clk_get_rate);
18  
19 +int clk_set_rate(struct clk *clk, unsigned long rate)
20 +{
21 +       return -1;
22 +}
23 +EXPORT_SYMBOL_GPL(clk_set_rate);
24 +
25  void __init plat_time_init(void)
26  {
27         struct clk *clk;