diff options
author | K. Y. Srinivasan <[email protected]> | 2011-05-10 07:54:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-05-11 13:48:44 -0700 |
commit | 7bd23a4d8737777f41cbbe099a027b582b762581 (patch) | |
tree | 954f545a8932fd0bf0a837598e1d2312ecd713d4 | |
parent | 5326fd5cc33389f20cad7ae36d579cd668345378 (diff) |
Staging: hv: Make the function netvsc_device_add() non static
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Abhishek Kane <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-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 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); |