From: David Schleef Date: Tue, 7 Nov 2000 21:36:38 +0000 (+0000) Subject: warning fixes X-Git-Tag: r0_7_51~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a49f50975eb2ca1a14b677aeaeb9f533931fc5ee;p=comedi.git warning fixes --- diff --git a/comedi/drivers/8255.c b/comedi/drivers/8255.c index 45a4e416..06a08113 100644 --- a/comedi/drivers/8255.c +++ b/comedi/drivers/8255.c @@ -132,6 +132,8 @@ static int subdev_8255_insn_config(comedi_device *dev,comedi_subdevice *s, } do_config(dev,s); + + return 1; } static int subdev_8255_dio(comedi_device *dev,comedi_subdevice *s,comedi_trig *it) @@ -216,6 +218,7 @@ int subdev_8255_init(comedi_device *dev,comedi_subdevice *s,int (*cb)(int,int,in } s->trig[0]=subdev_8255_dio; s->insn_bits = subdev_8255_insn; + s->insn_config = subdev_8255_insn_config; s->state=0; s->io_bits=0;