Skip to content

Commit

Permalink
staging: rtl8187se: Convert nic_t typedef into an enum
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ana Rey authored and Peter P Waskiewicz Jr committed Mar 13, 2014
1 parent 066ad08 commit 2ebdad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8187se/r8180.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 2ebdad6

Please sign in to comment.