staging: et131x: Fix variable typo carry_reg1 -> carry_reg2
authorMark Einon <mark.einon@gmail.com>
Mon, 18 Jul 2011 22:38:47 +0000 (23:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 18:46:49 +0000 (11:46 -0700)
This mistake was introduced in the patch 'staging: et131x: Convert et1310_address_map.h names from camel case'

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_mac.c

index 8d8bc8bbabf388727e440e14d7c55a2b225977fb..d1847c1614b4a0731e3db52d6ed392f9714e06cd 100644 (file)
@@ -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.