From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:38 +0000 (-0700) Subject: staging: comedi: ni_labpc_isadma: convert 'dma_buffer_size' to a define X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~382 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd8f40f6f10bb43c445458a36b873add4dd08f3;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed