Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9de9f962
Commit
9de9f962
authored
Jul 19, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Convert typedefs that can be replaced with #define
Signed-off-by:
Larry Finger
<
Larry.Finger@lwfinger.net
>
parent
e6605947
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
drivers/staging/rtl8192e/rtl819x_Qos.h
drivers/staging/rtl8192e/rtl819x_Qos.h
+5
-3
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl_core.h
+1
-1
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib.h
+2
-1
No files found.
drivers/staging/rtl8192e/rtl819x_Qos.h
View file @
9de9f962
...
...
@@ -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)
...
...
drivers/staging/rtl8192e/rtl_core.h
View file @
9de9f962
...
...
@@ -80,8 +80,8 @@
.vendor = (vend), .device = (dev), \
.subvendor = PCI_ANY_ID, .subdevice =PCI_ANY_ID , \
.driver_data = (kernel_ulong_t)&(cfg)
typedef
irqreturn_t
irqreturn_type
;
#define irqreturn_type irqreturn_t
#define rtl8192_interrupt(x,y,z) rtl8192_interrupt_rsl(x,y)
...
...
drivers/staging/rtl8192e/rtllib.h
View file @
9de9f962
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment