comedi: comedi_8255: Rework subdevice initialization functions
[linux-2.6-microblaze.git] / drivers / comedi / drivers / 8255.c
index ced8ea0..f45f7bd 100644 (file)
@@ -80,7 +80,7 @@ static int dev_8255_attach(struct comedi_device *dev,
                if (ret) {
                        s->type = COMEDI_SUBD_UNUSED;
                } else {
-                       ret = subdev_8255_init(dev, s, NULL, iobase);
+                       ret = subdev_8255_io_init(dev, s, iobase);
                        if (ret) {
                                /*
                                 * Release the I/O port region here, as the