diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-04 20:23:58 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-20 00:39:20 +0100 |
commit | 0af3a40f09a2a85089037a0b5b51471fa48b229e (patch) | |
tree | 9f79e11e98147a842ee12108deecd936e9527013 /arch/mips/ralink | |
parent | fad2522272ed5ed451d2d7b1dc547ddf3781cc7e (diff) | |
download | linux-0af3a40f09a2a85089037a0b5b51471fa48b229e.tar.gz linux-0af3a40f09a2a85089037a0b5b51471fa48b229e.tar.bz2 linux-0af3a40f09a2a85089037a0b5b51471fa48b229e.zip |
MIPS: ralink: Fix invalid assignment of SoC type
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>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/rt288x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c index 844f5cd55c8f..3c84166ebcb7 100644 --- a/arch/mips/ralink/rt288x.c +++ b/arch/mips/ralink/rt288x.c @@ -119,5 +119,5 @@ void prom_soc_init(struct ralink_soc_info *soc_info) soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; rt2880_pinmux_data = rt2880_pinmux_data_act; - ralink_soc == RT2880_SOC; + ralink_soc = RT2880_SOC; } |