aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/addi_apci_3120.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-04 10:55:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:34:04 -0800
commitd65d73ff5e2973274cc216fe37adc801c900dd20 (patch)
treecff0d90db6a8bd0a2c77e3a3019230d3eb323ef0 /drivers/staging/comedi/drivers/addi_apci_3120.c
parentstaging: comedi: addi_apci_3120: rename private data 'us_UseDma' (diff)
downloadlinux-dev-d65d73ff5e2973274cc216fe37adc801c900dd20.tar.xz
linux-dev-d65d73ff5e2973274cc216fe37adc801c900dd20.zip
staging: comedi: addi_apci_3120: rename private data 'b_DmaDoubleBuffer'
Rename this CamelCase member of the private data and convert it to 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>
Diffstat (limited to 'drivers/staging/comedi/drivers/addi_apci_3120.c')
-rw-r--r--drivers/staging/comedi/drivers/addi_apci_3120.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/addi_apci_3120.c b/drivers/staging/comedi/drivers/addi_apci_3120.c
index 00caa1059db1..f76884559752 100644
--- a/drivers/staging/comedi/drivers/addi_apci_3120.c
+++ b/drivers/staging/comedi/drivers/addi_apci_3120.c
@@ -130,7 +130,7 @@ struct apci3120_private {
unsigned long addon;
unsigned int osc_base;
unsigned int use_dma:1;
- unsigned char b_DmaDoubleBuffer;
+ unsigned int use_double_buffer:1;
unsigned int ui_DmaActualBuffer;
struct apci3120_dmabuf dmabuf[2];
unsigned char do_bits;
@@ -469,7 +469,7 @@ static void apci3120_dma_alloc(struct comedi_device *dev)
if (i == 0)
devpriv->use_dma = 1;
if (i == 1)
- devpriv->b_DmaDoubleBuffer = 1;
+ devpriv->use_double_buffer = 1;
}
}