From: Ian Abbott Date: Tue, 9 Nov 2010 12:28:29 +0000 (+0000) Subject: ni_mio_cs: I broke support for 2.6.35 when adding support for 2.6.36 due X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1eed564c2d50c699c22d4057f8b04659f9263995;p=comedi.git ni_mio_cs: I broke support for 2.6.35 when adding support for 2.6.36 due to using a wrong #ifdef in mio_cs_config(). Sorry! This fixes it. --- diff --git a/comedi/drivers/ni_mio_cs.c b/comedi/drivers/ni_mio_cs.c index 887f0781..b032b8cd 100644 --- a/comedi/drivers/ni_mio_cs.c +++ b/comedi/drivers/ni_mio_cs.c @@ -519,7 +519,7 @@ static int mio_cs_attach(comedi_device * dev, comedi_devconfig * it) return -EIO; dev->driver = &driver_ni_mio_cs; -#ifdef CONFIG_COMEDI_HAVE_CS_IRQ_REQ_T +#ifdef CONFIG_COMEDI_HAVE_CS_IO_REQ_T dev->iobase = link->io.BasePort1; #else dev->iobase = link->resource[0]->start;