MIPS: ralink: Fix incorrect assignment on ralink_soc
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Dec 2016 23:52:58 +0000 (23:52 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:48:40 +0000 (16:48 +0100)
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>
arch/mips/ralink/rt3883.c

index 141c597ec3244b418b7c505a681d3fc20a6a481c..f869052e4a0d1b9d37d0463b7e6f8e4989da4c0a 100644 (file)
@@ -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;
 }