From: H Hartley Sweeten Date: Tue, 23 Apr 2013 19:57:38 +0000 (-0700) Subject: staging: comedi: ni_labpc: cleanup true/false flags in boardinfo X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~770 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d6ba20bab01ea1a92b3fe7718416a8527e009a;p=pandora-kernel.git staging: comedi: ni_labpc: cleanup true/false flags in boardinfo The 'register_layout' in the boardinfo can be represented as a true/false flag instead of an enum. Rename the variable to 'is_labpc1200' and change it to an unsigned 1-bit bit-field. The 'has_ao' variable is also a true/false flag. Change it to an unsigned 1-bit bit-field. Reorder the boardinfo data so that the bit-field data is grouped together. For aesthetic reasons, and move the 'const' variables then reorder the boardinfo declarations to match the definition. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed