Commit 2a5a3d0c authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: gsc_hpdi: remove 'volatile' from the private data members

As reported by checkpatch.pl, the private data members do not need
the volatile tag. Remove them.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab5cf493
...@@ -199,12 +199,12 @@ struct hpdi_private { ...@@ -199,12 +199,12 @@ struct hpdi_private {
/* pointer to start of buffers indexed by descriptor */ /* pointer to start of buffers indexed by descriptor */
uint32_t *desc_dio_buffer[NUM_DMA_DESCRIPTORS]; uint32_t *desc_dio_buffer[NUM_DMA_DESCRIPTORS];
/* index of the dma descriptor that is currently being used */ /* index of the dma descriptor that is currently being used */
volatile unsigned int dma_desc_index; unsigned int dma_desc_index;
unsigned int tx_fifo_size; unsigned int tx_fifo_size;
unsigned int rx_fifo_size; unsigned int rx_fifo_size;
volatile unsigned long dio_count; unsigned long dio_count;
/* number of bytes at which to generate COMEDI_CB_BLOCK events */ /* number of bytes at which to generate COMEDI_CB_BLOCK events */
volatile unsigned int block_size; unsigned int block_size;
}; };
static void gsc_hpdi_drain_dma(struct comedi_device *dev, unsigned int channel) static void gsc_hpdi_drain_dma(struct comedi_device *dev, unsigned int channel)
......
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