Commit 7bd23a4d authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Make the function netvsc_device_add() non static

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5326fd5c
...@@ -1097,7 +1097,7 @@ static void netvsc_channel_cb(void *context) ...@@ -1097,7 +1097,7 @@ static void netvsc_channel_cb(void *context)
* netvsc_device_add - Callback when the device belonging to this * netvsc_device_add - Callback when the device belonging to this
* driver is added * 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 ret = 0;
int i; int i;
......
...@@ -117,6 +117,7 @@ struct netvsc_device_info { ...@@ -117,6 +117,7 @@ struct netvsc_device_info {
}; };
/* Interface */ /* Interface */
int netvsc_device_add(struct hv_device *device, void *additional_info);
int netvsc_initialize(struct hv_driver *drv); int netvsc_initialize(struct hv_driver *drv);
int rndis_filter_open(struct hv_device *dev); int rndis_filter_open(struct hv_device *dev);
int rndis_filter_close(struct hv_device *dev); int rndis_filter_close(struct hv_device *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment