diff options
author | Ana Rey <anarey@gmail.com> | 2014-03-10 18:56:45 +0100 |
---|---|---|
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-13 15:41:43 -0700 |
commit | 2ebdad626d3a046cf246b2235b415e1b2757e328 (patch) | |
tree | 9294c65f9a3226f2b2549ff054fcf44c6ec6f05e /drivers/staging/rtl8187se | |
parent | 066ad08efe16be0178e7565a2cfb6b6268ac264a (diff) | |
download | talos-obmc-linux-2ebdad626d3a046cf246b2235b415e1b2757e328.tar.gz talos-obmc-linux-2ebdad626d3a046cf246b2235b415e1b2757e328.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8187se')
-rw-r--r-- | drivers/staging/rtl8187se/r8180.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h index 9e4b5450ceb7..f5b86ea0ea1c 100644 --- 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. */ |