commit | afd8f40f6f10bb43c445458a36b873add4dd08f3 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jan 13 10:16:38 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:31:31 2015 -0800 |
tree | bf73a4fba248d8dd8bb8a6abd6d7b4760d1d507a | |
parent | ac525a7f724ef47cae087fc2b09978a5fdda829c [diff] |
staging: comedi: ni_labpc_isadma: convert 'dma_buffer_size' to a define For aesthetics, convert this statis const global variable to a define. Cleanup the maximum 'size' calc in labpc_suggest_transfer_size(). The modulo operation will always result in '0'. 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>