From: Mark Einon Date: Mon, 18 Jul 2011 22:38:47 +0000 (+0100) Subject: staging: et131x: Fix variable typo carry_reg1 -> carry_reg2 X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~397 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a342657982209a8982981f8d38366adac2b9f15;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Mark Einon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/et131x/et1310_mac.c b/drivers/staging/et131x/et1310_mac.c index 8d8bc8bbabf3..d1847c1614b4 100644 --- a/drivers/staging/et131x/et1310_mac.c +++ b/drivers/staging/et131x/et1310_mac.c @@ -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.