mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 14:42:34 -04:00
staging: comedi: adl_pci9118: use CMDF_ROUND_...
Replace use of the `TRIG_ROUND_...` macros with the new names `CMDF_ROUND_...`. The numeric values are unchanged. 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
74eede61ac
commit
ed23e413bd
@@ -761,7 +761,7 @@ static void pci9118_calc_divisors(char mode, struct comedi_device *dev,
|
||||
*tim2 = this_board->ai_ns_min;
|
||||
i8253_cascade_ns_to_timer(I8254_OSC_BASE_4MHZ,
|
||||
div1, div2,
|
||||
tim2, flags & TRIG_ROUND_NEAREST);
|
||||
tim2, flags & CMDF_ROUND_NEAREST);
|
||||
break;
|
||||
case 2:
|
||||
if (*tim2 < this_board->ai_ns_min)
|
||||
|
||||
Reference in New Issue
Block a user