1
0
Fork 0

Staging: hv: netvsc_drv: Make the function rndis_filter_send() non-static

In preparation to getting rid of struct netvsc_driver,
make the function  rndis_filter_send()  non-static.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
hifive-unleashed-5.1
K. Y. Srinivasan 2011-05-12 19:34:53 -07:00 committed by Greg Kroah-Hartman
parent 5fcc411519
commit 0652aebc5a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;