[PATCH 0/2] staging: comedi: tidy up the async event defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The async event defines, COMEDI_CB_*, are only used in the kernel. They should
not be exposed to userspace in the comedi.h uapi header. Move the defines to
the comedidev.h kernel header and tidy up the documentation.

Also, introduce some mask defines to clarify the events that indicate error
conditions and that cancel an async command.

H Hartley Sweeten (2):
  staging: comedi: comedidev.h: don't expose COMEDI_CB_* defines to userspace
  staging: comedi: comedidev.h: clarify async->event error/cancel detection

 drivers/staging/comedi/comedi.h               | 11 -----------
 drivers/staging/comedi/comedi_fops.c          | 18 ++++++++----------
 drivers/staging/comedi/comedidev.h            | 22 ++++++++++++++++++++++
 drivers/staging/comedi/drivers.c              |  2 +-
 drivers/staging/comedi/drivers/amplc_pci230.c | 10 ++--------
 5 files changed, 33 insertions(+), 30 deletions(-)

-- 
2.0.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux