projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066ad08
)
staging: rtl8187se: Convert nic_t typedef into an enum
author
Ana Rey
<anarey@gmail.com>
Mon, 10 Mar 2014 17:56:45 +0000
(18:56 +0100)
committer
Peter P Waskiewicz Jr
<peter.p.waskiewicz.jr@intel.com>
Thu, 13 Mar 2014 22:41:43 +0000
(15:41 -0700)
The Documentation/CodingStyle doesn't recommend the use of typedef,
convert this to enum.
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rtl8187se/r8180.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8187se/r8180.h
b/drivers/staging/rtl8187se/r8180.h
index 9e4b5450ceb7b97c1851c3dd9671f5b7eb52d5b3..f5b86ea0ea1c55865964bd5c065576f85ae4efbd 100644
(file)
--- a/
drivers/staging/rtl8187se/r8180.h
+++ b/
drivers/staging/rtl8187se/r8180.h
@@
-85,10
+85,10
@@
struct chnl_access_setting {
u16 cwmax_index;
};
-
typedef enum
{
+
enum nic_t
{
NIC_8185 = 1,
NIC_8185B
-
} nic_t
;
+
}
;
typedef u32 AC_CODING;
#define AC0_BE 0 /* ACI: 0x00 */ /* Best Effort. */