From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:54:56 +0000 (-0700) Subject: Staging: hv: Make rndis_filte_device_add() non static X-Git-Tag: v3.0-rc1~336^2~364 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=10f5a6db1944c9facea5db4d6ead21c12a66df0a;p=karo-tx-linux.git Staging: hv: Make rndis_filte_device_add() 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 d8d77c044329..64625e3b5e09 100644 --- a/drivers/staging/hv/netvsc_api.h +++ b/drivers/staging/hv/netvsc_api.h @@ -122,5 +122,8 @@ 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); +int rndis_filte_device_add(struct hv_device *dev, + void *additional_info); + #endif /* _NETVSC_API_H_ */ diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index 6305050f9e8d..09118b8118bd 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -84,9 +84,6 @@ struct rndis_filter_packet { }; -static int rndis_filte_device_add(struct hv_device *dev, - void *additional_info); - static int rndis_filter_device_remove(struct hv_device *dev); static void rndis_filter_cleanup(struct hv_driver *drv); @@ -746,7 +743,7 @@ static int rndis_filter_close_device(struct rndis_device *dev) return ret; } -static int rndis_filte_device_add(struct hv_device *dev, +int rndis_filte_device_add(struct hv_device *dev, void *additional_info) { int ret;