mirror of https://gitee.com/openkylin/linux.git
staging: vt6655: device.h remove typedef enum
Covert values to macros. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
83373ac0be
commit
28c777cb1f
|
@ -98,10 +98,8 @@
|
|||
#define PK_TYPE_11GB 2
|
||||
#define PK_TYPE_11GA 3
|
||||
|
||||
typedef enum {
|
||||
OWNED_BY_HOST = 0,
|
||||
OWNED_BY_NIC = 1
|
||||
} DEVICE_OWNER_TYPE, *PDEVICE_OWNER_TYPE;
|
||||
#define OWNED_BY_HOST 0
|
||||
#define OWNED_BY_NIC 1
|
||||
|
||||
typedef struct __device_opt {
|
||||
int nRxDescs0; /* Number of RX descriptors0 */
|
||||
|
|
Loading…
Reference in New Issue