diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-20 02:17:25 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 15:55:49 (GMT) |
commit | 9de9f962c71ad2c512c40e30b84aca5392a89630 (patch) | |
tree | 2462bbffdba527fb6a6efd51c21a9146be64fd67 /drivers/staging/rtl8192e/rtl819x_Qos.h | |
parent | e6605947508968e4020702f8dbe4d0bcad2028ae (diff) | |
download | linux-9de9f962c71ad2c512c40e30b84aca5392a89630.tar.xz |
staging: rtl8192e: Convert typedefs that can be replaced with #define
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_Qos.h')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_Qos.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_Qos.h b/drivers/staging/rtl8192e/rtl819x_Qos.h index 59ab0b8..0d2f8bf 100644 --- a/drivers/staging/rtl8192e/rtl819x_Qos.h +++ b/drivers/staging/rtl8192e/rtl819x_Qos.h @@ -110,7 +110,8 @@ struct octet_string { }; #define MAX_WMMELE_LENGTH 64 -typedef u32 QOS_MODE, *PQOS_MODE; +#define QOS_MODE u32 + #define QOS_DISABLE 0 #define QOS_WMM 1 #define QOS_WMMSA 2 @@ -174,7 +175,8 @@ enum qos_ie_source { }; -typedef u32 AC_CODING; +#define AC_CODING u32 + #define AC0_BE 0 #define AC1_BK 1 #define AC2_VI 2 @@ -237,7 +239,7 @@ struct acm { -typedef u8 AC_UAPSD, *PAC_UAPSD; +#define AC_UAPSD u8 #define GET_VO_UAPSD(_apsd) ((_apsd) & BIT0) #define SET_VO_UAPSD(_apsd) ((_apsd) |= BIT0) |