Commit dbb18cbb authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: int.h correct endian type

Endian type u64 qwTSF Change to new base type __le64 tsf

In INTnsProcessData use le64_to_cpu for qwCurrTSF.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a9052bc9
......@@ -167,7 +167,7 @@ void INTnsProcessData(struct vnt_private *pDevice)
NULL);
}
}
pDevice->qwCurrTSF = cpu_to_le64(pINTData->qwTSF);
pDevice->qwCurrTSF = le64_to_cpu(pINTData->tsf);
/*DBG_PRN_GRP01(("ISR0 = %02x ,
LoTsf = %08x,
HiTsf = %08x\n",
......
......@@ -45,7 +45,7 @@ typedef struct tagSINTData {
u8 byTSR3;
u8 byPkt3;
u16 wTime3;
u64 qwTSF;
__le64 tsf;
u8 byISR0;
u8 byISR1;
u8 byRTSSuccess;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment