aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index a1af0f7711e2..d1f7826aa75f 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -136,13 +136,9 @@ struct hv_netvsc_packet {
136 u16 q_idx; 136 u16 q_idx;
137 struct vmbus_channel *channel; 137 struct vmbus_channel *channel;
138 138
139 union { 139 u64 send_completion_tid;
140 struct { 140 void *send_completion_ctx;
141 u64 send_completion_tid; 141 void (*send_completion)(void *context);
142 void *send_completion_ctx;
143 void (*send_completion)(void *context);
144 } send;
145 } completion;
146 142
147 /* This points to the memory after page_buf */ 143 /* This points to the memory after page_buf */
148 struct rndis_message *rndis_msg; 144 struct rndis_message *rndis_msg;