static int ni_getboardtype(struct comedi_device *dev,
struct pcmcia_device *link);
-static void mio_cs_detach(struct comedi_device *dev)
-{
- mio_common_detach(dev);
- if (dev->irq)
- free_irq(dev->irq, dev);
-}
-
static struct pcmcia_device *cur_dev;
static int mio_cs_attach(struct comedi_device *dev, struct comedi_devconfig *it)
return 0;
}
+static void mio_cs_detach(struct comedi_device *dev)
+{
+ mio_common_detach(dev);
+ if (dev->irq)
+ free_irq(dev->irq, dev);
+}
+
static struct comedi_driver driver_ni_mio_cs = {
.driver_name = "ni_mio_cs",
.module = THIS_MODULE,