removed release_region
authorDavid Schleef <ds@schleef.org>
Thu, 30 Nov 2000 00:29:33 +0000 (00:29 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 30 Nov 2000 00:29:33 +0000 (00:29 +0000)
comedi/drivers/ni_mio_cs.c

index 8ca494e19c70ecf71d1b06c87e34abe47aa5ccec..6903cdb63dd479b51e5b34773415dbf3ad4c0526 100644 (file)
@@ -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);
        }