mirror of https://gitee.com/openkylin/linux.git
staging: comedi: ni_at_a2150: remove 'volatile' from private data variable
As indicated by checkpatch.pl, "WARNING: Use of volatile is usually wrong: ...", the 'count' member of the private data does not need to be volatile. 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>
This commit is contained in:
parent
99b21f22d2
commit
4547854842
|
@ -146,8 +146,7 @@ static const struct a2150_board a2150_boards[] = {
|
|||
};
|
||||
|
||||
struct a2150_private {
|
||||
|
||||
volatile unsigned int count; /* number of data points left to be taken */
|
||||
unsigned int count; /* number of data points left to be taken */
|
||||
unsigned int dma; /* dma channel */
|
||||
uint16_t *dma_buffer; /* dma buffer */
|
||||
unsigned int dma_transfer_size; /* size in bytes of dma transfers */
|
||||
|
|
Loading…
Reference in New Issue