staging: comedi: me4000: make boardinfo flags bit-fields

Change the boardinfo 'has_counter' and 'ai_trig_analog' flags into
bit-fields to save a bit of space.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2015-08-05 10:44:44 -07:00 committed by Greg Kroah-Hartman
parent 4ec85dadb7
commit 13a463ae57
1 changed files with 2 additions and 2 deletions
drivers/staging/comedi/drivers

View File

@ -193,8 +193,8 @@ struct me4000_board {
int ai_nchan;
int ai_diff_nchan;
int ai_sh_nchan;
int ex_trig_analog;
int has_counter;
unsigned int ex_trig_analog:1;
unsigned int has_counter:1;
};
static const struct me4000_board me4000_boards[] = {