From: Ian Abbott Date: Mon, 18 Jul 2011 11:16:18 +0000 (+0100) Subject: ni_pcidio: Forgot to include irq flags variable for spinlock. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc428f9abc08d3c9f14154abbe5d5ba9bce499ca;p=comedi.git 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 --- 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)