提交 f9819f05 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: netvsc_drv: Make the function netvsc_send non-static

In preparation to getting rid of struct netvsc_driver,
make the function netvsc_send non-static.
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: NHank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 a76c36bc
...@@ -118,6 +118,8 @@ struct netvsc_device_info { ...@@ -118,6 +118,8 @@ struct netvsc_device_info {
/* Interface */ /* Interface */
int netvsc_device_add(struct hv_device *device, void *additional_info); int netvsc_device_add(struct hv_device *device, void *additional_info);
int netvsc_device_remove(struct hv_device *device); int netvsc_device_remove(struct hv_device *device);
int netvsc_send(struct hv_device *device,
struct hv_netvsc_packet *packet);
int netvsc_initialize(struct hv_driver *drv); int netvsc_initialize(struct hv_driver *drv);
int rndis_filter_open(struct hv_device *dev); int rndis_filter_open(struct hv_device *dev);
int rndis_filter_close(struct hv_device *dev); int rndis_filter_close(struct hv_device *dev);
......
...@@ -660,7 +660,7 @@ static void netvsc_send_completion(struct hv_device *device, ...@@ -660,7 +660,7 @@ static void netvsc_send_completion(struct hv_device *device,
put_net_device(device); put_net_device(device);
} }
static int netvsc_send(struct hv_device *device, int netvsc_send(struct hv_device *device,
struct hv_netvsc_packet *packet) struct hv_netvsc_packet *packet)
{ {
struct netvsc_device *net_device; struct netvsc_device *net_device;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册