summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/common.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-09 01:19:10 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:55:28 +0200
commit33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (patch)
tree53aebea0ac2c0fb2715a8c1bc375cf3fa86ac210 /drivers/net/chelsio/common.h
parentehea: use kernel event queue (diff)
downloadlinux-33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485.tar.xz
linux-33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485.zip
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 b5de4452cf24..846ca5383d3c 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);