summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorIan Abbott2014-09-03 14:45:29 +0200
committerGreg Kroah-Hartman2014-09-08 22:50:13 +0200
commit3e15acd313d208651a1e8a0e9369a41b470b1893 (patch)
treeea39a56a49cd0ea4d8b022f934e5f78998697c43 /drivers/staging/comedi/comedi_fops.c
parentstaging: comedi: ni_labpc_common: use CMDF_PRIORITY (diff)
downloadkernel-qcow2-linux-3e15acd313d208651a1e8a0e9369a41b470b1893.tar.gz
kernel-qcow2-linux-3e15acd313d208651a1e8a0e9369a41b470b1893.tar.xz
kernel-qcow2-linux-3e15acd313d208651a1e8a0e9369a41b470b1893.zip
staging: comedi: add CMDF_WAKE_EOS as synonym for TRIG_WAKE_EOS
`TRIG_WAKE_EOS` is one of the values that can be OR-ed into the `flags` member of `struct comedi_cmd`. It's intended action is tune the asynchronous command to interrupt at the end of every "scan". The name is a bit of a left-over from earlier times. A better name would be `CMDF_WAKE_EOS` to match various other command flags. Define `CMDF_WAKE_EOS` with the same numeric value as the old `TRIG_WAKE_EOS` and redefine `TRIG_WAKE_EOS` 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