From cc428f9abc08d3c9f14154abbe5d5ba9bce499ca Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 18 Jul 2011 12:16:18 +0100 Subject: [PATCH] ni_pcidio: Forgot to include irq flags variable for spinlock. I messed up the previous commit. Need to include a variable in setup_mite_dma() to hold the IRQ flags when grabbing the spinlock. Signed-off-by: Ian Abbott --- comedi/drivers/ni_pcidio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers/ni_pcidio.c b/comedi/drivers/ni_pcidio.c index 1e66cd43..69727789 100644 --- a/comedi/drivers/ni_pcidio.c +++ b/comedi/drivers/ni_pcidio.c @@ -990,6 +990,7 @@ static int ni_pcidio_cmd(comedi_device * dev, comedi_subdevice * s) static int setup_mite_dma(comedi_device * dev, comedi_subdevice * s) { int retval; + unsigned long flags; retval = ni_pcidio_request_di_mite_channel(dev); if (retval) -- 2.26.2