aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/chelsio/common.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-08 16:19:10 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:55:28 -0700
commit33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (patch)
tree53aebea0ac2c0fb2715a8c1bc375cf3fa86ac210 /drivers/net/chelsio/common.h
parent3bf76b81608479a10077bd6b55972d40db782067 (diff)
chelsio: sparse warning fixes (old cxgb2)
Fix problems detected by sparse: 1. whole chunk of MAC code was for defined and never used 2. hook for running ext intr in workqueue wasn't being used Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/common.h')
-rw-r--r--drivers/net/chelsio/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/chelsio/common.h b/drivers/net/chelsio/common.h
index b5de4452cf2..846ca5383d3 100644
--- a/drivers/net/chelsio/common.h
+++ b/drivers/net/chelsio/common.h
@@ -372,6 +372,7 @@ extern void t1_interrupts_enable(adapter_t *adapter);
extern void t1_interrupts_disable(adapter_t *adapter);
extern void t1_interrupts_clear(adapter_t *adapter);
extern int t1_elmer0_ext_intr_handler(adapter_t *adapter);
+extern void t1_elmer0_ext_intr(adapter_t *adapter);
extern int t1_slow_intr_handler(adapter_t *adapter);
extern int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);