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:
parent
a9052bc9b3
commit
dbb18cbb7e
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue