summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-05-10 16:54:53 +0200
committerGreg Kroah-Hartman2011-05-11 22:48:44 +0200
commit7bd23a4d8737777f41cbbe099a027b582b762581 (patch)
tree954f545a8932fd0bf0a837598e1d2312ecd713d4 /drivers
parentStaging: hv: storvsc_drv: Simplify the code for getting the drive parameters (diff)
downloadkernel-qcow2-linux-7bd23a4d8737777f41cbbe099a027b582b762581.tar.gz
kernel-qcow2-linux-7bd23a4d8737777f41cbbe099a027b582b762581.tar.xz
kernel-qcow2-linux-7bd23a4d8737777f41cbbe099a027b582b762581.zip
Staging: hv: Make the function netvsc_device_add() 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.c2
-rw-r--r--drivers/staging/hv/netvsc_api.h1
2 files changed, 2 insertions, 1 deletions
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);