summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorIan Abbott2014-09-03 14:45:43 +0200
committerGreg Kroah-Hartman2014-09-08 22:50:14 +0200
commitdd7eb1251d3c99136e60d9d0e325ca40e03f89bc (patch)
tree92d0a6441d38064267887a563ecdea779a9b30f6 /drivers/staging/comedi/comedi_fops.c
parentstaging: comedi: rtd520: use CMDF_WAKE_EOS (diff)
downloadkernel-qcow2-linux-dd7eb1251d3c99136e60d9d0e325ca40e03f89bc.tar.gz
kernel-qcow2-linux-dd7eb1251d3c99136e60d9d0e325ca40e03f89bc.tar.xz
kernel-qcow2-linux-dd7eb1251d3c99136e60d9d0e325ca40e03f89bc.zip
staging: comedi: add CMDF_BOGUS as synonym for TRIG_BOGUS
`TRIG_BOGUS` is one of the values that can be OR-ed into the `flags` member of `struct comedi_cmd`. It causes the comedi core to go through some of the motions of setting up an asynchronous command without actually setting it up. If all goes well, it causes the command set-up to fail with an `EAGAIN` error. The name `TRIG_BOGUS` is a bit of a left-over from earlier times. A better name would be `CMDF_BOGUS` to match various other command flags. Define `CMDF_BOGUS` with the same numeric value as the old `TRIG_BOGUS` and redefine `TRIG_BOGUS` as a synonym of it. 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>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.c')
0 files changed, 0 insertions, 0 deletions