diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-05-19 17:13:15 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-05-19 17:48:41 +0200 |
commit | 3bc90f9626eee251a0d19d60044d0d544e2f3316 (patch) | |
tree | fb8ae9a4c13765e7708107b696b640f3ec26538e /target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch | |
parent | 1d0d5ddb0771deba3e321fbe388e1e3587d4629f (diff) | |
download | master-31e0f0ae-3bc90f9626eee251a0d19d60044d0d544e2f3316.tar.gz master-31e0f0ae-3bc90f9626eee251a0d19d60044d0d544e2f3316.tar.bz2 master-31e0f0ae-3bc90f9626eee251a0d19d60044d0d544e2f3316.zip |
ramips: use backported upstream patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch')
-rw-r--r-- | target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch b/target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch new file mode 100644 index 0000000000..2c149cc9e2 --- /dev/null +++ b/target/linux/ramips/patches-4.4/0081-MIPS-ralink-Fix-invalid-assignment-of-SoC-type.patch @@ -0,0 +1,25 @@ +From 0af3a40f09a2a85089037a0b5b51471fa48b229e Mon Sep 17 00:00:00 2001 +From: John Crispin <blogic@openwrt.org> +Date: Mon, 4 Jan 2016 20:23:58 +0100 +Subject: [PATCH] MIPS: ralink: Fix invalid assignment of SoC type + +Commit 418d29c87061 ("MIPS: ralink: Unify SoC id handling") introduced +broken code. We obviously need to assign the value. + +Signed-off-by: John Crispin <blogic@openwrt.org> +Cc: linux-mips@linux-mips.org +Patchwork: https://patchwork.linux-mips.org/patch/11993/ +Signed-off-by: Ralf Baechle <ralf@linux-mips.org> +--- + arch/mips/ralink/rt288x.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/arch/mips/ralink/rt288x.c ++++ b/arch/mips/ralink/rt288x.c +@@ -119,5 +119,5 @@ void prom_soc_init(struct ralink_soc_inf + soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; + + rt2880_pinmux_data = rt2880_pinmux_data_act; +- ralink_soc == RT2880_SOC; ++ ralink_soc = RT2880_SOC; + } |