diff options
| author | 2013-09-20 16:34:58 -0700 | |
|---|---|---|
| committer | 2013-09-25 15:59:57 -0700 | |
| commit | a08ec374aa00ba6736cd56df6e3027d3fd29f11d (patch) | |
| tree | 4e0be0bf021df7114d80b7f48cfb21885f71ba17 | |
| parent | staging: comedi: pcl711: remove unused boardinfo (diff) | |
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 <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/comedi/drivers/pcl711.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
