Use `struct comedi_kcmd` instead of `struct comedi_cmd`. Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx> --- drivers/staging/comedi/drivers/das16m1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/das16m1.c b/drivers/staging/comedi/drivers/das16m1.c index 7f0668f..2ad1f1b 100644 --- a/drivers/staging/comedi/drivers/das16m1.c +++ b/drivers/staging/comedi/drivers/das16m1.c @@ -165,7 +165,7 @@ static void munge_sample_array(short *array, unsigned int num_elements) } static int das16m1_cmd_test(struct comedi_device *dev, - struct comedi_subdevice *s, struct comedi_cmd *cmd) + struct comedi_subdevice *s, struct comedi_kcmd *cmd) { const struct das16m1_board *board = comedi_board(dev); unsigned int err = 0, tmp, i; @@ -312,7 +312,7 @@ static int das16m1_cmd_exec(struct comedi_device *dev, struct comedi_subdevice *s) { struct comedi_async *async = s->async; - struct comedi_cmd *cmd = &async->cmd; + struct comedi_kcmd *cmd = &async->cmd; unsigned int byte, i; if (dev->irq == 0) { @@ -456,7 +456,7 @@ static void das16m1_handler(struct comedi_device *dev, unsigned int status) { struct comedi_subdevice *s; struct comedi_async *async; - struct comedi_cmd *cmd; + struct comedi_kcmd *cmd; u16 num_samples; u16 hw_counter; -- 1.7.12 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel