summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/rxtx.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-03-22 09:01:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-18 16:05:29 -0700
commitca3475968a6fc0a648bf642ac7a976be777c4a37 (patch)
treebab87ee2963d46932df8c152e993f0673510a769 /drivers/staging/vt6656/rxtx.h
parent5846251d0e5a2027acc5f09b826ba4008cc282cc (diff)
downloadop-kernel-dev-ca3475968a6fc0a648bf642ac7a976be777c4a37.zip
op-kernel-dev-ca3475968a6fc0a648bf642ac7a976be777c4a37.tar.gz
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 d7e4273..0233761 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;
OpenPOWER on IntegriCloud