]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: comedi_fc.h: begin migration to comedidev.h
authorIan Abbott <abbotti@mev.co.uk>
Fri, 27 Mar 2015 19:13:41 +0000 (19:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:13:59 +0000 (13:13 +0200)
commit4c1f5fcf03b62f40f4abe25876052a5497540114
tree40c0576adbe895d2039c6fffc7e18463e8ae93a7
parent448953ae7916077ba75e73086ebe1233bc8991d9
staging: comedi: comedi_fc.h: begin migration to comedidev.h

"comedi_fc.h" contains a few inline functions used by the `do_cmdtest`
handler functions for comedi subdevices in several low-level comedi
drivers for checking asynchronous command trigger sources and arguments.
They all use the prefix `cfc_check_trigger_arg`.  Copy them over to
"../comedidev.h", but change the `cfc_` prefix to `comedi_`.  Change the
original functions in "comedi_fc.h" into simple wrappers for their
replacements.

Once the drivers have been changed to call the replacement functions,
"comedi_fc.h" can be removed.

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