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>
}
samplesinbuf = samplesinbuf >> 1; /* number of received samples */
- if (devpriv->b_DmaDoubleBuffer) {
+ if (devpriv->use_double_buffer) {
struct apci3120_dmabuf *next_dmabuf;
next_dmabuf = &devpriv->dmabuf[1 - devpriv->ui_DmaActualBuffer];
return;
}
- if (devpriv->b_DmaDoubleBuffer) {
+ if (devpriv->use_double_buffer) {
/* switch dma buffers for next interrupt */
devpriv->ui_DmaActualBuffer = 1 - devpriv->ui_DmaActualBuffer;
} else {
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;
if (i == 0)
devpriv->use_dma = 1;
if (i == 1)
- devpriv->b_DmaDoubleBuffer = 1;
+ devpriv->use_double_buffer = 1;
}
}