forked from Minki/linux
staging: comedi: pcl711: convert boardinfo flags to bit-fields
To save a bit of space, convert the 'is_pcl711b' and 'is_8112' flags in the boardinfo to bit-fields. 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:
parent
e7de66da57
commit
a08ec374aa
@ -133,8 +133,8 @@ static const int i8253_osc_base = 500; /* 2 Mhz */
|
||||
|
||||
struct pcl711_board {
|
||||
const char *name;
|
||||
int is_pcl711b;
|
||||
int is_8112;
|
||||
unsigned int is_pcl711b:1;
|
||||
unsigned int is_8112:1;
|
||||
int n_aichan;
|
||||
int n_aochan;
|
||||
int maxirq;
|
||||
|
Loading…
Reference in New Issue
Block a user