diff options
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r-- | drivers/net/chelsio/sge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c index ddd0bdb498f4..9799c12380fc 100644 --- a/drivers/net/chelsio/sge.c +++ b/drivers/net/chelsio/sge.c | |||
@@ -1217,7 +1217,7 @@ static inline int napi_is_scheduled(struct net_device *dev) | |||
1217 | /* | 1217 | /* |
1218 | * NAPI version of the main interrupt handler. | 1218 | * NAPI version of the main interrupt handler. |
1219 | */ | 1219 | */ |
1220 | static irqreturn_t t1_interrupt_napi(int irq, void *data, struct pt_regs *regs) | 1220 | static irqreturn_t t1_interrupt_napi(int irq, void *data) |
1221 | { | 1221 | { |
1222 | int handled; | 1222 | int handled; |
1223 | struct adapter *adapter = data; | 1223 | struct adapter *adapter = data; |
@@ -1279,7 +1279,7 @@ static irqreturn_t t1_interrupt_napi(int irq, void *data, struct pt_regs *regs) | |||
1279 | * 5. If we took an interrupt, but no valid respQ descriptors was found we | 1279 | * 5. If we took an interrupt, but no valid respQ descriptors was found we |
1280 | * let the slow_intr_handler run and do error handling. | 1280 | * let the slow_intr_handler run and do error handling. |
1281 | */ | 1281 | */ |
1282 | static irqreturn_t t1_interrupt(int irq, void *cookie, struct pt_regs *regs) | 1282 | static irqreturn_t t1_interrupt(int irq, void *cookie) |
1283 | { | 1283 | { |
1284 | int work_done; | 1284 | int work_done; |
1285 | struct respQ_e *e; | 1285 | struct respQ_e *e; |
@@ -1312,7 +1312,7 @@ static irqreturn_t t1_interrupt(int irq, void *cookie, struct pt_regs *regs) | |||
1312 | return IRQ_RETVAL(work_done != 0); | 1312 | return IRQ_RETVAL(work_done != 0); |
1313 | } | 1313 | } |
1314 | 1314 | ||
1315 | intr_handler_t t1_select_intr_handler(adapter_t *adapter) | 1315 | irq_handler_t t1_select_intr_handler(adapter_t *adapter) |
1316 | { | 1316 | { |
1317 | return adapter->params.sge.polling ? t1_interrupt_napi : t1_interrupt; | 1317 | return adapter->params.sge.polling ? t1_interrupt_napi : t1_interrupt; |
1318 | } | 1318 | } |