From 0652aebc5a4dffb0ee2bf0c4c71f8595402af46d Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Thu, 12 May 2011 19:34:53 -0700 Subject: [PATCH] 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/hyperv_net.h | 3 +++ drivers/staging/hv/rndis_filter.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index bb8889b1605..820008ed020 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 d6c957f234f..bc4e06bf1cf 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; -- 2.39.5