mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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: 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>
This commit is contained in:
parent
a76c36bc0d
commit
f9819f05f2
2 changed files with 3 additions and 1 deletions
|
@ -118,6 +118,8 @@ struct netvsc_device_info {
|
|||
/* Interface */
|
||||
int netvsc_device_add(struct hv_device *device, void *additional_info);
|
||||
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 rndis_filter_open(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,
|
|||
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 netvsc_device *net_device;
|
||||
|
|
Loading…
Reference in a new issue