projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da37aab
)
staging: rtl8187se: Convert r8180_priv typedef into a struct
author
Ana Rey
<anarey@gmail.com>
Fri, 7 Mar 2014 08:23:55 +0000
(09:23 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 8 Mar 2014 00:15:22 +0000
(16:15 -0800)
The Documentation/CodingStyle doesn't recommend the use of typedef,
convert this to structure.
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/rtl8187se/r8180.h
b/drivers/staging/rtl8187se/r8180.h
index b8f96709e82b9f1c19703b9ab192f78ccb05b062..4f17bd9c38df1f7e71814c5a2ed3c11363664268 100644
(file)
--- a/
drivers/staging/rtl8187se/r8180.h
+++ b/
drivers/staging/rtl8187se/r8180.h
@@
-322,7
+322,7
@@
typedef enum _RT_PS_MODE {
} RT_PS_MODE;
/* by amy for power save. */
-
typedef
struct r8180_priv {
+struct r8180_priv {
struct pci_dev *pdev;
short epromtype;
@@
-644,7
+644,7
@@
typedef struct r8180_priv {
u32 IntrMask;
struct chnl_access_setting ChannelAccessSetting;
-}
r8180_priv
;
+};
#define MANAGE_PRIORITY 0
#define BK_PRIORITY 1