From a08ec374aa00ba6736cd56df6e3027d3fd29f11d Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 20 Sep 2013 16:34:58 -0700 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/pcl711.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/pcl711.c b/drivers/staging/comedi/drivers/pcl711.c index e1cdb365..80d6a4c 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; -- 2.7.4