aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/eicon/diva.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hardware/eicon/diva.c')
-rw-r--r--drivers/isdn/hardware/eicon/diva.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/eicon/diva.c b/drivers/isdn/hardware/eicon/diva.c
index ffa2afa77c2f..1403a5458e68 100644
--- a/drivers/isdn/hardware/eicon/diva.c
+++ b/drivers/isdn/hardware/eicon/diva.c
@@ -515,12 +515,11 @@ diva_xdi_read(void *adapter, void *os_handle, void __user *dst,
515 515
516irqreturn_t diva_os_irq_wrapper(int irq, void *context) 516irqreturn_t diva_os_irq_wrapper(int irq, void *context)
517{ 517{
518 diva_os_xdi_adapter_t *a = (diva_os_xdi_adapter_t *) context; 518 diva_os_xdi_adapter_t *a = context;
519 diva_xdi_clear_interrupts_proc_t clear_int_proc; 519 diva_xdi_clear_interrupts_proc_t clear_int_proc;
520 520
521 if (!a || !a->xdi_adapter.diva_isr_handler) { 521 if (!a || !a->xdi_adapter.diva_isr_handler)
522 return IRQ_NONE; 522 return IRQ_NONE;
523 }
524 523
525 if ((clear_int_proc = a->clear_interrupts_proc)) { 524 if ((clear_int_proc = a->clear_interrupts_proc)) {
526 (*clear_int_proc) (a); 525 (*clear_int_proc) (a);