提交 87b43457 编写于 作者: G Gabor Juhos 提交者: Ralf Baechle

MIPS: ATH79: Avoid a kernel bug on AR913X

Wireless mac registration causes a BUG on AR913X SoCs due to
a missing 'else'.
Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3182/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 f79eaeb1
...@@ -96,7 +96,7 @@ void __init ath79_register_wmac(u8 *cal_data) ...@@ -96,7 +96,7 @@ void __init ath79_register_wmac(u8 *cal_data)
{ {
if (soc_is_ar913x()) if (soc_is_ar913x())
ar913x_wmac_setup(); ar913x_wmac_setup();
if (soc_is_ar933x()) else if (soc_is_ar933x())
ar933x_wmac_setup(); ar933x_wmac_setup();
else else
BUG(); BUG();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册