OSDN Git Service

staging: comedi: amplc_dio200_common: convert driver to use the comedi_8254 module
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 24 Feb 2015 17:38:49 +0000 (10:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 02:52:28 +0000 (18:52 -0800)
commit5a213fa6f7c33219300bdd826d77172bfd5a54e6
treeccebf72859c24db5e57f0b4916586f15e482f1a4
parent99ca4e4613da5cb589de6b4127de75e520b32b43
staging: comedi: amplc_dio200_common: convert driver to use the comedi_8254 module

Convert this driver to use the comedi_8254 module to provide the 8254 timer support.

Add 'clock_src' and 'gate_src' members to the comedi_8254 data for convienence.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Kconfig
drivers/staging/comedi/drivers/amplc_dio200_common.c
drivers/staging/comedi/drivers/comedi_8254.h