summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-12-22 23:52:58 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-08 08:26:03 (GMT)
commit0cde56d3b6721e8a69260861d268a8adcc6fcd33 (patch)
tree7b5e21d5af52378d46063c7e7d07e8e6da432884 /arch
parent0e22be793ad292d9a7e4dfb9d757151815df6c59 (diff)
downloadlinux-0cde56d3b6721e8a69260861d268a8adcc6fcd33.tar.xz
MIPS: ralink: Fix incorrect assignment on ralink_soc
[ Upstream commit 08d90c81b714482dceb5323d14f6617bcf55ee61 ] ralink_soc sould be assigned to RT3883_SOC, replace incorrect comparision with assignment. Signed-off-by: Colin Ian King <colin.king@canonical.com> Fixes: 418d29c87061 ("MIPS: ralink: Unify SoC id handling") Cc: John Crispin <john@phrozen.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14903/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/ralink/rt3883.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c
index 9e4631a..3e68e35 100644
--- a/arch/mips/ralink/rt3883.c
+++ b/arch/mips/ralink/rt3883.c
@@ -145,5 +145,5 @@ void prom_soc_init(struct ralink_soc_info *soc_info)
rt2880_pinmux_data = rt3883_pinmux_data;
- ralink_soc == RT3883_SOC;
+ ralink_soc = RT3883_SOC;
}