diff options
author | Andrew Morton <akpm@osdl.org> | 2005-10-16 16:32:14 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-18 18:32:34 -0400 |
commit | 166d823d397b9f5404648cedfdefe13e10683694 (patch) | |
tree | de09a5a87b3c42925c70228ef2702eab5b891c3f | |
parent | dcbf8477567c312c9f0512545d07e05175d740a4 (diff) |
[PATCH] e1000_intr build fix
drivers/net/e1000/e1000_main.c: In function `e1000_intr':
drivers/net/e1000/e1000_main.c:3156: error: `i' undeclared (first use in this function)
drivers/net/e1000/e1000_main.c:3156: error: (Each undeclared identifier is reported only once
drivers/net/e1000/e1000_main.c:3156: error: for each function it appears in.)
This function is foul.
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index dd79449f9a99..18847f9e4d49 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3100,7 +3100,7 @@ e1000_intr(int irq, void *data, struct pt_regs *regs) | |||
3100 | struct e1000_adapter *adapter = netdev_priv(netdev); | 3100 | struct e1000_adapter *adapter = netdev_priv(netdev); |
3101 | struct e1000_hw *hw = &adapter->hw; | 3101 | struct e1000_hw *hw = &adapter->hw; |
3102 | uint32_t icr = E1000_READ_REG(hw, ICR); | 3102 | uint32_t icr = E1000_READ_REG(hw, ICR); |
3103 | #ifdef CONFIG_E1000_MQ | 3103 | #if defined(CONFIG_E1000_NAPI) && defined(CONFIG_E1000_MQ) || !defined(CONFIG_E1000_NAPI) |
3104 | int i; | 3104 | int i; |
3105 | #endif | 3105 | #endif |
3106 | 3106 | ||