From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:44:46 +0000 (-0700) Subject: staging: comedi: me4000: refactor 'ao_nchan' boardinfo X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~226 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed9b66316d2c6eb22c2a80a8af4d1f7beffe309;p=pandora-kernel.git staging: comedi: me4000: refactor 'ao_nchan' boardinfo For the boards that have analog output capability, there are always 4 analog output channels. Convert the 'ao_nchan' member of the boardinfo into a bit-field, 'has_ao', to save a bit of space and set the analog output subdevice 'n_chan' to 4 when supported. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed