diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-10-17 11:32:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 09:04:27 -0700 |
commit | 28c777cb1f828197b3896c6d549e6e091e68e36c (patch) | |
tree | d265deb2a3d492f4a3effcabf6e10b422701b87c /drivers/staging | |
parent | 83373ac0be558428d64b60a994e03eb607313f2a (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/vt6655/device.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index be6c42b6a358..83bb68bb66ee 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 */ |