提交 28c777cb 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6655: device.h remove typedef enum

Covert values to macros.
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 83373ac0
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册