From 1eed564c2d50c699c22d4057f8b04659f9263995 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Tue, 9 Nov 2010 12:28:29 +0000 Subject: [PATCH] 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. --- comedi/drivers/ni_mio_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2