diff options
author | K. Y. Srinivasan | 2011-05-10 16:54:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-05-11 22:48:45 +0200 |
commit | 905620d16f5c9e7c8ff850e15f47f5700824f6fb (patch) | |
tree | e2b449dd9965e07622edbdd08a917d8c230c9537 /drivers | |
parent | Staging: hv: Make the function netvsc_device_add() non static (diff) | |
download | kernel-qcow2-linux-905620d16f5c9e7c8ff850e15f47f5700824f6fb.tar.gz kernel-qcow2-linux-905620d16f5c9e7c8ff850e15f47f5700824f6fb.tar.xz kernel-qcow2-linux-905620d16f5c9e7c8ff850e15f47f5700824f6fb.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/hv/netvsc.c | 2 | ||||
-rw-r--r-- | drivers/staging/hv/netvsc_api.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 7cd3f0b154c5..8790f0f007b4 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -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; diff --git a/drivers/staging/hv/netvsc_api.h b/drivers/staging/hv/netvsc_api.h index d09d6eb77046..d8d77c044329 100644 --- a/drivers/staging/hv/netvsc_api.h +++ b/drivers/staging/hv/netvsc_api.h @@ -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); |