From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:54:53 +0000 (-0700) Subject: Staging: hv: Make the function netvsc_device_add() non static X-Git-Tag: firefly_0821_release~7613^2~1326^2~367 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7bd23a4d8737777f41cbbe099a027b582b762581;p=firefly-linux-kernel-4.4.55.git Staging: hv: Make the function netvsc_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.c b/drivers/staging/hv/netvsc.c index 27c7449fa1cf..7cd3f0b154c5 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -1097,7 +1097,7 @@ out: * netvsc_device_add - Callback when the device belonging to this * driver is added */ -static int netvsc_device_add(struct hv_device *device, void *additional_info) +int netvsc_device_add(struct hv_device *device, void *additional_info) { int ret = 0; int i; diff --git a/drivers/staging/hv/netvsc_api.h b/drivers/staging/hv/netvsc_api.h index 48b512be0726..d09d6eb77046 100644 --- a/drivers/staging/hv/netvsc_api.h +++ b/drivers/staging/hv/netvsc_api.h @@ -117,6 +117,7 @@ struct netvsc_device_info { }; /* Interface */ +int netvsc_device_add(struct hv_device *device, void *additional_info); int netvsc_initialize(struct hv_driver *drv); int rndis_filter_open(struct hv_device *dev); int rndis_filter_close(struct hv_device *dev);