Message ID | 1445077982-17832-4-git-send-email-tvboxspy@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index be6c42b..83bb68b 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -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 */
Covert values to macros. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> --- drivers/staging/vt6655/device.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)