From 8a82f2263ed375ed473920091f1589b17e7513a8 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 30 Nov 2000 00:29:33 +0000 Subject: [PATCH] removed release_region --- comedi/drivers/ni_mio_cs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/comedi/drivers/ni_mio_cs.c b/comedi/drivers/ni_mio_cs.c index 8ca494e1..6903cdb6 100644 --- a/comedi/drivers/ni_mio_cs.c +++ b/comedi/drivers/ni_mio_cs.c @@ -154,8 +154,11 @@ static int ni_getboardtype(comedi_device *dev,dev_link_t *link); /* clean up allocated resources */ static int mio_cs_free(comedi_device *dev) { +#if 0 + /* PCMCIA layer does this for us */ if(dev->iobase) release_region(dev->iobase,NI_SIZE); +#endif if(dev->irq){ comedi_free_irq(dev->irq,dev); } -- 2.26.2