提交 6a342657 编写于 作者: M Mark Einon 提交者: Greg Kroah-Hartman

staging: et131x: Fix variable typo carry_reg1 -> carry_reg2

This mistake was introduced in the patch 'staging: et131x: Convert et1310_address_map.h names from camel case'
Signed-off-by: NMark Einon <mark.einon@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 fc78050f
......@@ -526,7 +526,7 @@ void et1310_handle_macstat_interrupt(struct et131x_adapter *etdev)
carry_reg1 = readl(&etdev->regs->macstat.carry_reg1);
carry_reg2 = readl(&etdev->regs->macstat.carry_reg2);
writel(carry_reg2, &etdev->regs->macstat.carry_reg1);
writel(carry_reg1, &etdev->regs->macstat.carry_reg1);
writel(carry_reg2, &etdev->regs->macstat.carry_reg2);
/* We need to do update the host copy of all the MAC_STAT counters.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册