From: Ian Abbott Date: Wed, 3 Sep 2014 12:45:24 +0000 (+0100) Subject: staging: comedi: comedi_test: use CMDF_PRIORITY X-Git-Tag: v3.18-rc1~130^2~745 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51d66b297c0a2e24ca2427ac929c0ae02169ada6;p=karo-tx-linux.git staging: comedi: comedi_test: use CMDF_PRIORITY Replace use of `TRIG_RT` command flag with the equivalent flag `CMDF_PRIORITY`. The numeric value is unchanged. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c index 7aa23db593bc..00c03df72523 100644 --- a/drivers/staging/comedi/drivers/comedi_test.c +++ b/drivers/staging/comedi/drivers/comedi_test.c @@ -302,7 +302,7 @@ static int waveform_ai_cmd(struct comedi_device *dev, struct waveform_private *devpriv = dev->private; struct comedi_cmd *cmd = &s->async->cmd; - if (cmd->flags & TRIG_RT) { + if (cmd->flags & CMDF_PRIORITY) { dev_err(dev->class_dev, "commands at RT priority not supported in this driver\n"); return -1;