Commit a08ec374 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7de66da
...@@ -133,8 +133,8 @@ static const int i8253_osc_base = 500; /* 2 Mhz */ ...@@ -133,8 +133,8 @@ static const int i8253_osc_base = 500; /* 2 Mhz */
struct pcl711_board { struct pcl711_board {
const char *name; const char *name;
int is_pcl711b; unsigned int is_pcl711b:1;
int is_8112; unsigned int is_8112:1;
int n_aichan; int n_aichan;
int n_aochan; int n_aochan;
int maxirq; int maxirq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment