ramips: fix the number of uarts for MT7688
[librecmc/librecmc.git] / target / linux / mediatek / patches-4.4 / 0052-clk-dont-disable-unused-clocks.patch
1 From 5238c5d1d38661955ed3b52f45c46e00bfc9eb6e Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 7 Apr 2016 07:18:35 +0200
4 Subject: [PATCH 052/102] clk: dont disable unused clocks
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8  drivers/clk/clk.c |    2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/clk/clk.c
12 +++ b/drivers/clk/clk.c
13 @@ -233,7 +233,7 @@ unlock_out:
14         clk_enable_unlock(flags);
15  }
16  
17 -static bool clk_ignore_unused;
18 +static bool clk_ignore_unused = true;
19  static int __init clk_ignore_unused_setup(char *__unused)
20  {
21         clk_ignore_unused = true;