summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2014-10-13 18:56:07 +0200
committerGreg Kroah-Hartman2014-10-29 08:47:11 +0100
commitbb856b6c041c200910b031b535397e2c805789c5 (patch)
treedc75eb21b7b56cfceac729b9f0998dd098db5a42 /drivers/staging/comedi/comedi_fops.c
parentstaging: comedi: drivers: comedi_bond.c: Changed from using strncat to strlcat (diff)
downloadkernel-qcow2-linux-bb856b6c041c200910b031b535397e2c805789c5.tar.gz
kernel-qcow2-linux-bb856b6c041c200910b031b535397e2c805789c5.tar.xz
kernel-qcow2-linux-bb856b6c041c200910b031b535397e2c805789c5.zip
staging: comedi: comedidev.h: don't expose COMEDI_CB_* defines to userspace
The COMEDI_CB_* defines are the comedi_async "events" that the drivers set to let the core detect the state of running async commands. These "events" are only relevant to the kernel modules and should not be exposed to userspace in the comedi.h user API header. Move the defines to comedidev.h to avoid exposing them. For aesthetics, convert the defines to bit shifts to better indicate that they are bitmask values. Cleanup the documentation. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> 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