From bb856b6c041c200910b031b535397e2c805789c5 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 13 Oct 2014 09:56:07 -0700 Subject: [PATCH] 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-format-patch failed