diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-08-30 22:25:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 15:19:16 -0700 |
commit | 2dd76679cc1160c65e7dc0d0214df5747e352b0a (patch) | |
tree | fb0990972227bc43a075adf660930b87240cc6e8 /drivers/staging/vt6655/rxtx.h | |
parent | 72edb7ed1fe1936805a71d5da60a6e72856851f3 (diff) |
staging: vt6655: replace typedef struct tagSTxDataHead_g_FB with struct vnt_tx_datahead_g_fb
Replacing members
b, a, wDuration_b, wDuration_a, wDuration_a_f0, wDuration_a_f1, wTimeStampOff_b and wTimeStampOff_a
with
b, a, duration_b, duration_a, duration_a_f0, duration_a_f1, time_stamp_off_b and time_stamp_off_a
All unsigned short need to be __le16 type.
Creating the new structure in rxtx.h
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/rxtx.h')
-rw-r--r-- | drivers/staging/vt6655/rxtx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/rxtx.h b/drivers/staging/vt6655/rxtx.h index 0fe999860cc4..212c2efe209d 100644 --- a/drivers/staging/vt6655/rxtx.h +++ b/drivers/staging/vt6655/rxtx.h @@ -88,6 +88,17 @@ struct vnt_tx_datahead_g { __le16 time_stamp_off_a; } __packed; +struct vnt_tx_datahead_g_fb { + struct vnt_phy_field b; + struct vnt_phy_field a; + __le16 duration_b; + __le16 duration_a; + __le16 duration_a_f0; + __le16 duration_a_f1; + __le16 time_stamp_off_b; + __le16 time_stamp_off_a; +} __packed; + struct vnt_tx_short_buf_head { __le16 fifo_ctl; u16 time_stamp; |