Skip to content

Commit

Permalink
MIPS: ralink: Fix incorrect assignment on ralink_soc
Browse files Browse the repository at this point in the history
ralink_soc sould be assigned to RT3883_SOC, replace incorrect
comparision with assignment.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Fixes: 418d29c ("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>
  • Loading branch information
Colin Ian King authored and Ralf Baechle committed Jan 3, 2017
1 parent 48ed33c commit 08d90c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/ralink/rt3883.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 08d90c8

Please sign in to comment.