summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-19 21:17:25 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 10:55:49 -0500
commit9de9f962c71ad2c512c40e30b84aca5392a89630 (patch)
tree2462bbffdba527fb6a6efd51c21a9146be64fd67 /drivers/staging/rtl8192e/rtllib.h
parente6605947508968e4020702f8dbe4d0bcad2028ae (diff)
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/rtllib.h')
-rw-r--r--drivers/staging/rtl8192e/rtllib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 63eb5b584376..2ab1e6cb6390 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1910,7 +1910,8 @@ struct rt_pwr_save_ctrl {
};
-typedef u32 RT_RF_CHANGE_SOURCE;
+#define RT_RF_CHANGE_SOURCE u32
+
#define RF_CHANGE_BY_SW BIT31
#define RF_CHANGE_BY_HW BIT30
#define RF_CHANGE_BY_PS BIT29