summaryrefslogtreecommitdiff
path: root/arch/mips/ralink
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-12-23 02:52:58 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-01-03 18:48:40 +0300
commit08d90c81b714482dceb5323d14f6617bcf55ee61 (patch)
tree8a305d4747ef204a6452ff54c524ef105dbbd7b7 /arch/mips/ralink
parent48ed33c1b3737eb1324c1ae023a8eeccad60cef9 (diff)
downloadlinux-08d90c81b714482dceb5323d14f6617bcf55ee61.tar.xz
MIPS: ralink: Fix incorrect assignment on ralink_soc
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>
Diffstat (limited to 'arch/mips/ralink')
-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 141c597ec324..f869052e4a0d 100644
--- a/arch/mips/ralink/rt3883.c
+++ b/arch/mips/ralink/rt3883.c
@@ -157,5 +157,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;
}