From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:23:44 +0000 (-0700) Subject: staging: comedi: ni_stc.h: add some 'is_{board type}' flags to private data X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~688 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52b53e4a743988667e5db7cd0de1cdb0732b4f9;p=pandora-kernel.git staging: comedi: ni_stc.h: add some 'is_{board type}' flags to private data The board->reg_type if checked quite often in the ni_mio_common.c code to handle differences in the PCI devices supported by the ni_pcimio driver. Simplify the code a bit by adding some 'is_{board type}' bit-field flags to the private data. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed