mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 06:41:06 -04:00
staging: rtl8187se: Convert nic_t typedef into an enum
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>
This commit is contained in:
committed by
Peter P Waskiewicz Jr
parent
066ad08efe
commit
2ebdad626d
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user