staging: comedi: pcl711: convert boardinfo flags to bit-fields
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 20 Sep 2013 23:34:58 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 22:59:57 +0000 (15:59 -0700)
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>
drivers/staging/comedi/drivers/pcl711.c

index e1cdb36..80d6a4c 100644 (file)
@@ -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;