From: H Hartley Sweeten Date: Fri, 20 Sep 2013 23:34:58 +0000 (-0700) Subject: staging: comedi: pcl711: convert boardinfo flags to bit-fields X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a08ec374aa00ba6736cd56df6e3027d3fd29f11d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/pcl711.c b/drivers/staging/comedi/drivers/pcl711.c index e1cdb365fed4..80d6a4c9dd80 100644 --- a/drivers/staging/comedi/drivers/pcl711.c +++ b/drivers/staging/comedi/drivers/pcl711.c @@ -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;