From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:54:57 +0000 (-0700) Subject: Staging: hv: Make rndis_filter_device_remove() non static X-Git-Tag: firefly_0821_release~7613^2~1326^2~363 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1405139c63f411bba579ede0e71aa1d10091ff18;p=firefly-linux-kernel-4.4.55.git Staging: hv: Make rndis_filter_device_remove() 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/netvsc_api.h b/drivers/staging/hv/netvsc_api.h index 64625e3b5e09..b385c9d2afd1 100644 --- a/drivers/staging/hv/netvsc_api.h +++ b/drivers/staging/hv/netvsc_api.h @@ -124,6 +124,7 @@ int rndis_filter_open(struct hv_device *dev); 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); #endif /* _NETVSC_API_H_ */ diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index 09118b8118bd..455d4402dbce 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -84,8 +84,6 @@ struct rndis_filter_packet { }; -static int rndis_filter_device_remove(struct hv_device *dev); - static void rndis_filter_cleanup(struct hv_driver *drv); static int rndis_filter_send(struct hv_device *dev, @@ -803,7 +801,7 @@ int rndis_filte_device_add(struct hv_device *dev, return ret; } -static int rndis_filter_device_remove(struct hv_device *dev) +int rndis_filter_device_remove(struct hv_device *dev) { struct netvsc_device *net_dev = dev->ext; struct rndis_device *rndis_dev = net_dev->extension;