From 628c30e852e775d98ebce006f51e64a58e3fd76b Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 18 Jul 2011 22:05:16 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef RT_PM_WOL_PATTERN_INFO to struct rt_pm_wol_info Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtllib.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 9a9f3d3e363c..7ae24d50afcf 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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; -- 2.20.1