Need to set read_subdev
authorDavid Schleef <ds@schleef.org>
Mon, 3 Feb 2003 18:14:25 +0000 (18:14 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 3 Feb 2003 18:14:25 +0000 (18:14 +0000)
comedi/drivers/dt3000.c

index 9b0c2c2153bd6b7efb8f2757ea5e1e583047275a..8da75e07e73f29f2e09178566c43f1aaef47eba3 100644 (file)
@@ -786,6 +786,7 @@ static int dt3000_attach(comedi_device *dev,comedi_devconfig *it)
                return ret;
 
        s=dev->subdevices;
+       dev->read_subdev = s;
 
        /* ai subdevice */
        s->type=COMEDI_SUBD_AI;