On 2014-07-15 01:20, H Hartley Sweeten wrote:
Clarify the timer operations by using the helper functions in 8253.h. For aesthetics, factor the "ai start conversion" code out of daq700_ai_rinsn(). Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregk@xxxxxxxxxxxxxxxxxxx> --- drivers/staging/comedi/drivers/ni_daq_700.c | 35 ++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c index 4d5cb5a..16b52b6 100644 --- a/drivers/staging/comedi/drivers/ni_daq_700.c +++ b/drivers/staging/comedi/drivers/ni_daq_700.c @@ -51,11 +51,18 @@ #include <linux/delay.h> #include <linux/interrupt.h> -#include "../comedidev.h" - #include <pcmcia/cistpl.h> #include <pcmcia/ds.h> +#include "../comedidev.h" + +#include "8253.h" + +/* + * Regsiter I/O map + */
Typo :) -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel