From 6a342657982209a8982981f8d38366adac2b9f15 Mon Sep 17 00:00:00 2001 From: Mark Einon Date: Mon, 18 Jul 2011 23:38:47 +0100 Subject: [PATCH] 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 --- drivers/staging/et131x/et1310_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1