staging: comedi: pcl818: change 'is_818' in boardinfo to a bit-field
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Feb 2014 21:26:52 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:53:53 +0000 (11:53 -0800)
Change this flag in the boardinfo into a bit-field.

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/pcl818.c

index 9cb3e460c915061670640b485a942f9339cd3668..e709e3c0a10b3136de9f791ff795d031f95bce84 100644 (file)
@@ -271,7 +271,7 @@ struct pcl818_board {
        int ao_maxdata;
        unsigned int has_dma:1;
        unsigned int has_fifo:1;
-       int is_818;
+       unsigned int is_818:1;
 };
 
 static const struct pcl818_board boardtypes[] = {