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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ebdad626d3a046cf246b2235b415e1b2757e328;p=linux-beck.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 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. */