summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/rxtx.h
diff options
context:
space:
mode:
authorMalcolm Priestley2014-03-22 10:01:28 +0100
committerGreg Kroah-Hartman2014-04-19 01:05:29 +0200
commitca3475968a6fc0a648bf642ac7a976be777c4a37 (patch)
treebab87ee2963d46932df8c152e993f0673510a769 /drivers/staging/vt6656/rxtx.h
parentstaging: vt6656: rxtx Replace struct vnt_tx_fifo_head wTimeStamp (diff)
downloadkernel-qcow2-linux-ca3475968a6fc0a648bf642ac7a976be777c4a37.tar.gz
kernel-qcow2-linux-ca3475968a6fc0a648bf642ac7a976be777c4a37.tar.xz
kernel-qcow2-linux-ca3475968a6fc0a648bf642ac7a976be777c4a37.zip
staging: vt6656: rxtx struct vnt_tx_buffer Replace wTxByteCount
Replace with tx_byte_count with base type __le16. In nsDMA_tx_packet and bRelayPacketSend provide endian correction. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/rxtx.h')
-rw-r--r--drivers/staging/vt6656/rxtx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h
index d7e42731df32..0233761bdb74 100644
--- a/drivers/staging/vt6656/rxtx.h
+++ b/drivers/staging/vt6656/rxtx.h
@@ -225,7 +225,7 @@ struct vnt_tx_fifo_head {
struct vnt_tx_buffer {
u8 byType;
u8 byPKTNO;
- u16 wTxByteCount;
+ __le16 tx_byte_count;
struct vnt_tx_fifo_head fifo_head;
union vnt_tx_head tx_head;
} __packed;