staging: comedi: pcl812: use CMDF_WAKE_EOS
authorIan Abbott <abbotti@mev.co.uk>
Wed, 3 Sep 2014 12:45:41 +0000 (13:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:50:14 +0000 (13:50 -0700)
Replace use of `TRIG_WAKE_EOS` command flag with the new name
`CMDF_WAKE_EOS`.  The numeric value is unchanged.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl812.c

index 55620c95cf04b45eb4935ebd680a50ac93a18551..61549e32e453a2938041560c258b57a78f16427f 100644 (file)
@@ -812,7 +812,7 @@ static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
        s->async->cur_chan = 0;
 
        /*  don't we want wake up every scan? */
-       if (cmd->flags & TRIG_WAKE_EOS) {
+       if (cmd->flags & CMDF_WAKE_EOS) {
                devpriv->ai_eos = 1;
 
                /*  DMA is useless for this situation */