diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-08-15 23:57:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-13 04:24:26 +0300 |
commit | 9cb693f6f326ddf8f9df9c2bb3302048a919b394 (patch) | |
tree | e81128deac3d808d539e9960f9484714e7426a73 /drivers/staging/vt6655/device.h | |
parent | 88defe2b35f1b765dbfe9a800c443c31400a4e13 (diff) | |
download | linux-9cb693f6f326ddf8f9df9c2bb3302048a919b394.tar.xz |
staging: vt6655: replace typedef struct tagSRxDesc
with struct vnt_rx_desc and all members the same.
volatile is removed from pointers as this generates warning
message.
Only the first four members of vnt_rx_desc need to be volatile.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
-rw-r--r-- | drivers/staging/vt6655/device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 80cc17005d8f..d1917d04af30 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -258,9 +258,9 @@ struct vnt_private { struct vnt_tx_desc *apTD0Rings; struct vnt_tx_desc *apTD1Rings; - volatile PSRxDesc aRD0Ring; - volatile PSRxDesc aRD1Ring; - volatile PSRxDesc pCurrRD[TYPE_MAXRD]; + struct vnt_rx_desc *aRD0Ring; + struct vnt_rx_desc *aRD1Ring; + struct vnt_rx_desc *pCurrRD[TYPE_MAXRD]; OPTIONS sOpts; |