mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
Staging: hv: Make netvsc_device_remove 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
7bd23a4d87
commit
905620d16f
2 changed files with 2 additions and 1 deletions
|
@ -580,7 +580,7 @@ static void netvsc_disconnect_vsp(struct netvsc_device *net_device)
|
|||
/*
|
||||
* netvsc_device_remove - Callback when the root bus device is removed
|
||||
*/
|
||||
static int netvsc_device_remove(struct hv_device *device)
|
||||
int netvsc_device_remove(struct hv_device *device)
|
||||
{
|
||||
struct netvsc_device *net_device;
|
||||
struct hv_netvsc_packet *netvsc_packet, *pos;
|
||||
|
|
|
@ -118,6 +118,7 @@ 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_initialize(struct hv_driver *drv);
|
||||
int rndis_filter_open(struct hv_device *dev);
|
||||
int rndis_filter_close(struct hv_device *dev);
|
||||
|
|
Loading…
Reference in a new issue