summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-20 02:02:02 (GMT)
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 15:53:06 (GMT)
commitd45c88a63b1142ef88b732c48c9ed49838b670da (patch)
treeb759abc64c6022906672dac6f16215bd3ea27f34
parentde7c885a248ad79380bf1b3425738e436a7790ff (diff)
downloadlinux-d45c88a63b1142ef88b732c48c9ed49838b670da.tar.xz
staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
-rw-r--r--drivers/staging/rtl8192e/rtllib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index a96093f..5afe7de 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 {