From 3703480b02446b35e8427f6a114a5690b64324a8 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Thu, 11 Jun 2015 14:34:32 +0900 Subject: [PATCH] staging: wilc1000: remove UWORD8 Use u8 instead of UWORD8. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000/itypes.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 3a6c5baf0abb..339b2a5c4384 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -499,7 +499,7 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(u8 *data) return time_stamp; } -INLINE UWORD32 get_beacon_timestamp_hi(UWORD8 *data) +INLINE UWORD32 get_beacon_timestamp_hi(u8 *data) { UWORD32 time_stamp = 0; UWORD32 index = (MAC_HDR_LEN + 4); diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 1ecb37341780..b2bbb45143d1 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3692,7 +3692,7 @@ static void Handle_DelAllSta(void *drvHandler, tstrHostIFDelAllSta *pstrDelAllSt u8 *pu8CurrByte; tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)drvHandler; u8 i; - UWORD8 au8Zero_Buff[6] = {0}; + u8 au8Zero_Buff[6] = {0}; strWID.u16WIDid = (WILC_Uint16)WID_DEL_ALL_STA; strWID.enuWIDtype = WID_STR; strWID.s32ValueSize = (pstrDelAllStaParam->u8Num_AssocSta * ETH_ALEN) + 1; diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h index 6c2bd791a0b1..91c8f0dca6d6 100644 --- a/drivers/staging/wilc1000/itypes.h +++ b/drivers/staging/wilc1000/itypes.h @@ -46,7 +46,6 @@ typedef short WORD16; typedef char WORD8; typedef unsigned int UWORD32; typedef unsigned short UWORD16; -typedef unsigned char UWORD8; /*****************************************************************************/ /* Enums */ -- 2.20.1