From: H Hartley Sweeten Date: Mon, 13 Oct 2014 16:56:07 +0000 (-0700) Subject: staging: comedi: comedidev.h: don't expose COMEDI_CB_* defines to userspace X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~864 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb856b6c041c200910b031b535397e2c805789c5;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed