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: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0f99981a6d
commit
350a327641
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ static unsigned int hw_revision(const 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)
|
||||
{
|
||||
const struct pcidas64_board *thisboard = comedi_board(dev);
|
||||
|
|
Loading…
Add table
Reference in a new issue