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: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-02-16 19:08:21 +00:00 committed by Greg Kroah-Hartman
parent a9052bc9b3
commit dbb18cbb7e
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ void INTnsProcessData(struct vnt_private *pDevice)
NULL); NULL);
} }
} }
pDevice->qwCurrTSF = cpu_to_le64(pINTData->qwTSF); pDevice->qwCurrTSF = le64_to_cpu(pINTData->tsf);
/*DBG_PRN_GRP01(("ISR0 = %02x , /*DBG_PRN_GRP01(("ISR0 = %02x ,
LoTsf = %08x, LoTsf = %08x,
HiTsf = %08x\n", HiTsf = %08x\n",

View file

@ -45,7 +45,7 @@ typedef struct tagSINTData {
u8 byTSR3; u8 byTSR3;
u8 byPkt3; u8 byPkt3;
u16 wTime3; u16 wTime3;
u64 qwTSF; __le64 tsf;
u8 byISR0; u8 byISR0;
u8 byISR1; u8 byISR1;
u8 byRTSSuccess; u8 byRTSSuccess;