From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:52 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Make the function rndis_filter_receive() non-static X-Git-Tag: v3.0-rc1~336^2~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fcc411519d14ad1c327504586044fc2bb4669ce;p=platform%2Fupstream%2Fkernel-adaptation-pc.git Staging: hv: netvsc_drv: Make the function rndis_filter_receive() non-static In preparation to getting rid of struct netvsc_driver, make the function rndis_filter_receive() 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 92b56dc..bb8889b 100644 --- a/drivers/staging/hv/hyperv_net.h +++ b/drivers/staging/hv/hyperv_net.h @@ -130,7 +130,8 @@ int rndis_filter_close(struct hv_device *dev); int rndis_filte_device_add(struct hv_device *dev, void *additional_info); int rndis_filter_device_remove(struct hv_device *dev); - +int rndis_filter_receive(struct hv_device *dev, + struct hv_netvsc_packet *pkt); diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index f941323..d6c957f 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -359,7 +359,7 @@ static void rndis_filter_receive_data(struct rndis_device *dev, pkt); } -static int rndis_filter_receive(struct hv_device *dev, +int rndis_filter_receive(struct hv_device *dev, struct hv_netvsc_packet *pkt) { struct netvsc_device *net_dev = dev->ext;