MIPS: ralink: Fix invalid assignment of SoC type
authorJohn Crispin <blogic@openwrt.org>
Mon, 4 Jan 2016 19:23:58 +0000 (20:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jul 2017 12:37:17 +0000 (14:37 +0200)
commitc9336bbdd924bdd4c13300f17357d99c7a9387a4
tree8fdc027eb9fcb880e846a0d487eb98310fa21d6e
parentad310161f513b4ad8cf82eb4fc3de990e9412270
MIPS: ralink: Fix invalid assignment of SoC type

commit 0af3a40f09a2a85089037a0b5b51471fa48b229e upstream.

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>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/ralink/rt288x.c