diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index bb8889b16051495e43689a50d28d8cf440083b00..820008ed020bc92da1df8192ffaa78d707eca32c 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -135,6 +135,9 @@ int rndis_filter_receive(struct hv_device *dev, +int rndis_filter_send(struct hv_device *dev, + struct hv_netvsc_packet *pkt); + #define NVSP_INVALID_PROTOCOL_VERSION ((u32)0xFFFFFFFF) #define NVSP_PROTOCOL_VERSION_1 2 diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index d6c957f234feb6912e7ab3c023d30e67f9310a16..bc4e06bf1cfa445d39574ed474799fd8da9b69cd 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -82,9 +82,6 @@ struct rndis_filter_packet { }; -static int rndis_filter_send(struct hv_device *dev, - struct hv_netvsc_packet *pkt); - static void rndis_filter_send_completion(void *ctx); static void rndis_filter_send_request_completion(void *ctx); @@ -822,7 +819,7 @@ int rndis_filter_close(struct hv_device *dev) return rndis_filter_close_device(netDevice->extension); } -static int rndis_filter_send(struct hv_device *dev, +int rndis_filter_send(struct hv_device *dev, struct hv_netvsc_packet *pkt) { int ret;