From: Larry Finger Date: Wed, 20 Jul 2011 02:02:02 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~14^2~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d45c88a63b1142ef88b732c48c9ed49838b670da;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a96093f4e913..5afe7dee46cb 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1835,21 +1835,20 @@ enum rt_rf_power_state { #define MAX_WOL_BIT_MASK_SIZE 16 #define MAX_WOL_PATTERN_SIZE 128 -typedef enum _WOLPATTERN_TYPE -{ +enum wol_pattern_type { eNetBIOS = 0, eIPv4IPv6ARP, eIPv4IPv6TCPSYN, eMACIDOnly, eNoDefined, -} WOLPATTERN_TYPE; +}; struct rt_pm_wol_info { u32 PatternId; u32 Mask[4]; u16 CrcRemainder; u8 WFMIndex; - WOLPATTERN_TYPE PatternType; + enum wol_pattern_type PatternType; }; struct rt_pwr_save_ctrl {