Commit 350a3276 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: cb_pcidas64: remove 'volatile' from set_dac_range_bits() param

As indicated by checkpatch.pl, "WARNING: Use of volatile is usually
wrong: ...". The 'bits' parameter to this function does not need to
be volatile.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f99981a
...@@ -1180,7 +1180,7 @@ static unsigned int hw_revision(const struct comedi_device *dev, ...@@ -1180,7 +1180,7 @@ static unsigned int hw_revision(const struct comedi_device *dev,
} }
static void set_dac_range_bits(struct comedi_device *dev, static void set_dac_range_bits(struct comedi_device *dev,
volatile uint16_t *bits, unsigned int channel, uint16_t *bits, unsigned int channel,
unsigned int range) unsigned int range)
{ {
const struct pcidas64_board *thisboard = comedi_board(dev); const struct pcidas64_board *thisboard = comedi_board(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment