]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: remove UWORD32
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 11 Jun 2015 05:35:53 +0000 (14:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jun 2015 16:07:59 +0000 (09:07 -0700)
Use u32 instead of UWORD32.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/itypes.h

index 339b2a5c43842d80e135f1a2859d04b79b6de70e..d3a0069376191df7ab07131bb6ed21c5027774ea 100644 (file)
@@ -499,10 +499,10 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(u8 *data)
        return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
+INLINE u32 get_beacon_timestamp_hi(u8 *data)
 {
-       UWORD32 time_stamp = 0;
-       UWORD32 index    = (MAC_HDR_LEN + 4);
+       u32 time_stamp = 0;
+       u32 index    = (MAC_HDR_LEN + 4);
 
        time_stamp |= data[index++];
        time_stamp |= (data[index++] << 8);
index 91c8f0dca6d6e42e523d8528bc5da440d1e00157..c99f8cabcaee4ee7fed42140b15e6e3bf912519a 100644 (file)
@@ -44,7 +44,6 @@
 typedef int WORD32;
 typedef short WORD16;
 typedef char WORD8;
-typedef unsigned int UWORD32;
 typedef unsigned short UWORD16;
 
 /*****************************************************************************/