From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:53 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Make the function rndis_filter_send() non-static X-Git-Tag: v3.0-rc1~336^2~195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0652aebc5a4dffb0ee2bf0c4c71f8595402af46d;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 --- diff --git a/drivers/staging/hv/hyperv_net.h b/drivers/staging/hv/hyperv_net.h index bb8889b..820008e 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 d6c957f..bc4e06b 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;