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>
apci3120_timer_set_mode(dev, 0, APCI3120_TIMER_MODE2);
apci3120_timer_write(dev, 0, divisor);
- if (devpriv->us_UseDma) {
+ if (devpriv->use_dma) {
apci3120_setup_dma(dev, s);
} else {
devpriv->mode |= APCI3120_MODE_EOS_IRQ_ENA;
unsigned long amcc;
unsigned long addon;
unsigned int osc_base;
- unsigned short us_UseDma;
+ unsigned int use_dma:1;
unsigned char b_DmaDoubleBuffer;
unsigned int ui_DmaActualBuffer;
struct apci3120_dmabuf dmabuf[2];
dmabuf->size = PAGE_SIZE << order;
if (i == 0)
- devpriv->us_UseDma = 1;
+ devpriv->use_dma = 1;
if (i == 1)
devpriv->b_DmaDoubleBuffer = 1;
}