Last remnant of trig[0]. Calls emulation function directly.
authorDavid Schleef <ds@schleef.org>
Sun, 27 May 2001 23:16:18 +0000 (23:16 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 27 May 2001 23:16:18 +0000 (23:16 +0000)
comedi/trig.c

index b741c2401a0f2da96b5937f4a0cf54f49b07fc65..1465f7c27b02e33f65bd894e930817aaffdfee0b 100644 (file)
@@ -202,7 +202,7 @@ static int do_trig_ioctl_mode0(comedi_device *dev,comedi_subdevice *s,comedi_tri
                }
        }
 
-       ret=s->trig[0](dev,s,&s->cur_trig);
+       ret = mode0_emulate(dev,s,&s->cur_trig);
 
        if(ret<0)goto cleanup;