提交 0af3a40f 编写于 作者: J John Crispin 提交者: Ralf Baechle

MIPS: ralink: Fix invalid assignment of SoC type

Commit 418d29c8 ("MIPS: ralink: Unify SoC id handling") introduced
broken code. We obviously need to assign the value.
Signed-off-by: NJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11993/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 fad25222
...@@ -119,5 +119,5 @@ void prom_soc_init(struct ralink_soc_info *soc_info) ...@@ -119,5 +119,5 @@ void prom_soc_init(struct ralink_soc_info *soc_info)
soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; soc_info->mem_size_max = RT2880_MEM_SIZE_MAX;
rt2880_pinmux_data = rt2880_pinmux_data_act; rt2880_pinmux_data = rt2880_pinmux_data_act;
ralink_soc == RT2880_SOC; ralink_soc = RT2880_SOC;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册