staging: comedi: rtd520: use CMDF_WAKE_EOS
authorIan Abbott <abbotti@mev.co.uk>
Wed, 3 Sep 2014 12:45:42 +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/rtd520.c

index 7c7911b24166622991d91e63df30bafadb122b00..cb02698ef72449e478c4c2eb47a2ab4ca1dac542 100644 (file)
@@ -955,7 +955,7 @@ static int rtd_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
        if (TRIG_TIMER == cmd->scan_begin_src) {
                /* scan_begin_arg is in nanoseconds */
                /* find out how many samples to wait before transferring */
-               if (cmd->flags & TRIG_WAKE_EOS) {
+               if (cmd->flags & CMDF_WAKE_EOS) {
                        /*
                         * this may generate un-sustainable interrupt rates
                         * the application is responsible for doing the