diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 03:12:20 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 19:53:17 -0400 |
commit | 7c2399756ab8ccb2c57da4630b4aa4a1d61b3846 (patch) | |
tree | d201140b6c42c92a1f283707861e824935ea0e39 /drivers/net/cxgb3/adapter.h | |
parent | f07ef395ad4cd050e695edfec217ceb2158220a3 (diff) |
[SPARC, XEN, NET/CXGB3] use irq_handler_t where appropriate
Rather than hand-rolling our own prototype, make the code more
future-proof by using the standard irq_handler_t typedef.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index 2a3df145850d..60a62f510db7 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -46,8 +46,6 @@ | |||
46 | #include <asm/semaphore.h> | 46 | #include <asm/semaphore.h> |
47 | #include <asm/io.h> | 47 | #include <asm/io.h> |
48 | 48 | ||
49 | typedef irqreturn_t(*intr_handler_t) (int, void *); | ||
50 | |||
51 | struct vlan_group; | 49 | struct vlan_group; |
52 | struct adapter; | 50 | struct adapter; |
53 | struct sge_qset; | 51 | struct sge_qset; |
@@ -270,7 +268,7 @@ void t3_sge_start(struct adapter *adap); | |||
270 | void t3_sge_stop(struct adapter *adap); | 268 | void t3_sge_stop(struct adapter *adap); |
271 | void t3_free_sge_resources(struct adapter *adap); | 269 | void t3_free_sge_resources(struct adapter *adap); |
272 | void t3_sge_err_intr_handler(struct adapter *adapter); | 270 | void t3_sge_err_intr_handler(struct adapter *adapter); |
273 | intr_handler_t t3_intr_handler(struct adapter *adap, int polling); | 271 | irq_handler_t t3_intr_handler(struct adapter *adap, int polling); |
274 | int t3_eth_xmit(struct sk_buff *skb, struct net_device *dev); | 272 | int t3_eth_xmit(struct sk_buff *skb, struct net_device *dev); |
275 | int t3_mgmt_tx(struct adapter *adap, struct sk_buff *skb); | 273 | int t3_mgmt_tx(struct adapter *adap, struct sk_buff *skb); |
276 | void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p); | 274 | void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p); |