From: Ana Rey Date: Mon, 10 Mar 2014 17:56:45 +0000 (+0100) Subject: staging: rtl8187se: Convert nic_t typedef into an enum X-Git-Tag: v3.15-rc1~139^2~445 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2ebdad626d3a046cf246b2235b415e1b2757e328;p=~emulex%2Finfiniband.git 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 Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h index 9e4b5450ceb..f5b86ea0ea1 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. */