Commit 2ebdad62 authored by Ana Rey's avatar Ana Rey Committed by Peter P Waskiewicz Jr

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: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 066ad08e
...@@ -85,10 +85,10 @@ struct chnl_access_setting { ...@@ -85,10 +85,10 @@ struct chnl_access_setting {
u16 cwmax_index; u16 cwmax_index;
}; };
typedef enum { enum nic_t {
NIC_8185 = 1, NIC_8185 = 1,
NIC_8185B NIC_8185B
} nic_t; };
typedef u32 AC_CODING; typedef u32 AC_CODING;
#define AC0_BE 0 /* ACI: 0x00 */ /* Best Effort. */ #define AC0_BE 0 /* ACI: 0x00 */ /* Best Effort. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment