From: Ian Abbott Date: Fri, 31 Aug 2012 19:41:32 +0000 (+0100) Subject: staging: comedi: das08: Add number of DI channels in board structure X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~813 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffd76b327a19b49696635cd6891b9d279a73623e;p=pandora-kernel.git staging: comedi: das08: Add number of DI channels in board structure Add member `di_nchan` to `struct das08_board_struct` to set the number of digital input channels explicitly. Currently, the code determines the number of channels to 3 or 8 depending on what function the `di` member points to, which is not very elegant. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed