diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-11-07 19:06:07 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 13:36:54 -0800 |
commit | ff8d9f0806c8db8a3920752f4ca38f6688d0f87c (patch) | |
tree | 4c8b23e5d58c7e4ca7b180090e6ae9737ba09549 /drivers/staging/vt6655 | |
parent | bfb6c8637640cd6d2fb3f06d056769654c2f7e86 (diff) |
staging: vt6655: replace typedef enum _VIA_BB_TYPE with macros
Replacing type with u8
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/device.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index dab07e1224f2..3742d8d6764a 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -148,12 +148,9 @@ #define NUM 64 /* 0:11A 1:11B 2:11G */ -typedef enum _VIA_BB_TYPE -{ - BB_TYPE_11A = 0, - BB_TYPE_11B, - BB_TYPE_11G -} VIA_BB_TYPE, *PVIA_BB_TYPE; +#define BB_TYPE_11A 0 +#define BB_TYPE_11B 1 +#define BB_TYPE_11G 2 /* 0:11a,1:11b,2:11gb(only CCK in BasicRate),3:11ga(OFDM in Basic Rate) */ typedef enum _VIA_PKT_TYPE @@ -321,7 +318,7 @@ struct vnt_private { unsigned char bySlot; unsigned char byCWMaxMin; - VIA_BB_TYPE byBBType; /* 0:11A, 1:11B, 2:11G */ + u8 byBBType; /* 0:11A, 1:11B, 2:11G */ VIA_PKT_TYPE byPacketType; /* * 0:11a,1:11b,2:11gb (only CCK * in BasicRate), 3:11ga (OFDM in |