ramips: DIR-860L-B1 fix switch port numbering
[openwrt/openwrt.git] / target / linux / ramips / patches-4.4 / 0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch
1 From 0af3a40f09a2a85089037a0b5b51471fa48b229e Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 4 Jan 2016 20:23:58 +0100
4 Subject: [PATCH] MIPS: ralink: Fix invalid assignment of SoC type
5
6 Commit 418d29c87061 ("MIPS: ralink: Unify SoC id handling") introduced
7 broken code. We obviously need to assign the value.
8
9 Signed-off-by: John Crispin <blogic@openwrt.org>
10 Cc: linux-mips@linux-mips.org
11 Patchwork: https://patchwork.linux-mips.org/patch/11993/
12 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 ---
14 arch/mips/ralink/rt288x.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/arch/mips/ralink/rt288x.c
18 +++ b/arch/mips/ralink/rt288x.c
19 @@ -109,5 +109,5 @@ void prom_soc_init(struct ralink_soc_inf
20 soc_info->mem_size_max = RT2880_MEM_SIZE_MAX;
21
22 rt2880_pinmux_data = rt2880_pinmux_data_act;
23 - ralink_soc == RT2880_SOC;
24 + ralink_soc = RT2880_SOC;
25 }