projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83373ac
)
staging: vt6655: device.h remove typedef enum
author
Malcolm Priestley
<
[email protected]
>
Sat, 17 Oct 2015 10:32:57 +0000
(11:32 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 17 Oct 2015 16:04:27 +0000
(09:04 -0700)
Covert values to macros.
Signed-off-by: Malcolm Priestley <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/vt6655/device.h
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/device.h
b/drivers/staging/vt6655/device.h
index be6c42b6a358ff75884303b4e9c99584c4738add..83bb68bb66eec43fe88f8f7b59e6902814a19255 100644
(file)
--- 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 */