staging: rtl8192e: Convert typedef RT_LINK_DETECT_T to struct rt_link_detect
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 03:08:19 +0000 (22:08 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:22:25 +0000 (01:22 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib.h

index dd9ad6e..6102c92 100644 (file)
@@ -1984,7 +1984,7 @@ typedef   enum _FW_CMD_IO_TYPE{
 }FW_CMD_IO_TYPE,*PFW_CMD_IO_TYPE;
 
 #define RT_MAX_LD_SLOT_NUM     10
-typedef struct _RT_LINK_DETECT_T{
+struct rt_link_detect {
 
        u32                             NumRecvBcnInPeriod;
        u32                             NumRecvDataInPeriod;
@@ -2004,7 +2004,7 @@ typedef struct _RT_LINK_DETECT_T{
        u32                             NumTxUnicastOkInPeriod;
        u32                             LastNumTxUnicast;
        u32                             LastNumRxUnicast;
-}RT_LINK_DETECT_T, *PRT_LINK_DETECT_T;
+};//, *struct rt_link_detect *;
 
 typedef struct _SW_CAM_TABLE{
 
@@ -2388,7 +2388,7 @@ struct rtllib_device {
        bandwidth_autoswitch bandwidth_auto_switch;
        bool FwRWRF;
 
-       RT_LINK_DETECT_T        LinkDetectInfo;
+       struct rt_link_detect LinkDetectInfo;
        bool bIsAggregateFrame;
        struct rt_pwr_save_ctrl PowerSaveControl;
        u8 amsdu_in_process;