summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/comedi/drivers/gsc_hpdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c b/drivers/staging/comedi/drivers/gsc_hpdi.c
index 2db02b4..950516b 100644
--- a/drivers/staging/comedi/drivers/gsc_hpdi.c
+++ b/drivers/staging/comedi/drivers/gsc_hpdi.c
@@ -263,12 +263,12 @@ static irqreturn_t gsc_hpdi_interrupt(int irq, void *d)
}
if (hpdi_board_status & RX_OVERRUN_BIT) {
- comedi_error(dev, "rx fifo overrun");
+ dev_err(dev->class_dev, "rx fifo overrun\n");
async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
}
if (hpdi_board_status & RX_UNDERRUN_BIT) {
- comedi_error(dev, "rx fifo underrun");
+ dev_err(dev->class_dev, "rx fifo underrun\n");
async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
}
OpenPOWER on IntegriCloud