staging: rtl8192e: Convert typedef RT_PM_WOL_PATTERN_INFO to struct rt_pm_wol_info
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 03:05:16 +0000 (22:05 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:20:44 +0000 (01:20 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index 9a9f3d3e363c86e05217f54425f552e1834afcb1..7ae24d50afcf95955612111e4ecfa0b544e2617f 100644 (file)
@@ -1851,14 +1851,13 @@ typedef enum _WOLPATTERN_TYPE
        eNoDefined,
 }WOLPATTERN_TYPE;
 
-typedef struct _RT_PM_WOL_PATTERN_INFO
-{
+struct rt_pm_wol_info {
        u32     PatternId;
        u32     Mask[4];
        u16     CrcRemainder;
        u8      WFMIndex;
        WOLPATTERN_TYPE PatternType;
-}RT_PM_WOL_PATTERN_INFO, *PRT_PM_WOL_PATTERN_INFO;
+};//, *struct rt_pm_wol_info *;
 
 typedef struct _RT_POWER_SAVE_CONTROL
 {
@@ -1916,7 +1915,7 @@ typedef struct _RT_POWER_SAVE_CONTROL
        u8                              RegAMDPciASPM;
 
        u8                              oWLANMode;
-       RT_PM_WOL_PATTERN_INFO          PmWoLPatternInfo[MAX_SUPPORT_WOL_PATTERN_NUM];
+       struct rt_pm_wol_info PmWoLPatternInfo[MAX_SUPPORT_WOL_PATTERN_NUM];
 
 }RT_POWER_SAVE_CONTROL,*PRT_POWER_SAVE_CONTROL;