OSDN Git Service

staging: vt6656: s_vFillCTSHead join structures of vnt_cts* to union vnt_tx_data_head
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 27 Aug 2013 10:48:34 +0000 (11:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 23:54:39 +0000 (16:54 -0700)
commit27df3ebf363bc1a63ab2356975848a07fb2229dc
tree73e27f02cd620936789a9166630e00955c7e13da
parent43e48a4a8bc7a2f68c3bd932739e927851aec7a1
staging: vt6656: s_vFillCTSHead join structures of vnt_cts* to union vnt_tx_data_head

Only one of vnt_rts*/vnt_cts* structures are accessed at any one time.

structures vnt_cts and vnt_cts_fb are members of union vnt_tx_data_head.

Create pointer union head and point structures to the correct member.

Point the union to pvCTS.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c