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>
This commit is contained in:
K. Y. Srinivasan 2011-05-10 07:54:53 -07:00 committed by Greg Kroah-Hartman
parent 5326fd5cc3
commit 7bd23a4d87
2 changed files with 2 additions and 1 deletions

View file

@ -1097,7 +1097,7 @@ static void netvsc_channel_cb(void *context)
* 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;

View file

@ -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);