staging: comedi: comedidev.h: use enum for COMEDI_CB_... constants
authorIan Abbott <abbotti@mev.co.uk>
Mon, 21 Sep 2015 17:52:47 +0000 (18:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:25:02 +0000 (03:25 +0200)
commit251a16ab67906c29cbc0b7aebc85fc0209f6770f
tree6dd4f3e8483eddaf590d6e62ca20605b16e9a51f
parent2750914363bff601fc812f8cb0ef56ffc8b0b27b
staging: comedi: comedidev.h: use enum for COMEDI_CB_... constants

The existing constants `COMEDI_CB_EOS` etc. are in the form of macros
and have a bogus kernel-doc comment.  Change them to `enum` constants so
they can be documented properly with kernel-doc.

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>
drivers/staging/comedi/comedidev.h