diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index 03f37da465408b141e28c5745e5263c3e1f0a6ca..e43f9fafb8a4c61b5a9dae14a87927687a5906fe 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -1019,6 +1019,13 @@ struct rndis_message { union rndis_message_container msg; }; + +struct rndis_filter_packet { + void *completion_ctx; + void (*completion)(void *context); + struct rndis_message msg; +}; + /* Handy macros */ /* get the size of an RNDIS message. Pass in the message type, */ diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index ca922d8c2b9ecb29fa4f9f91c666d767c4352912..b67b772fdf92da47ed6c3f2c8478aea74e18472e 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -74,14 +74,6 @@ struct rndis_request { struct rndis_message request_msg; }; - -struct rndis_filter_packet { - void *completion_ctx; - void (*completion)(void *context); - struct rndis_message msg; -}; - - static void rndis_filter_send_completion(void *ctx); static void rndis_filter_send_request_completion(void *ctx);