Commit bdbad576 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Greg Kroah-Hartman

staging: hv: fix typo in name rndis_filte_device_add()

rename rndis_filte_device_add to rndis_filter_device_add
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@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 8d895aea
...@@ -99,7 +99,7 @@ int netvsc_recv_callback(struct hv_device *device_obj, ...@@ -99,7 +99,7 @@ int netvsc_recv_callback(struct hv_device *device_obj,
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);
int rndis_filte_device_add(struct hv_device *dev, int rndis_filter_device_add(struct hv_device *dev,
void *additional_info); void *additional_info);
void rndis_filter_device_remove(struct hv_device *dev); void rndis_filter_device_remove(struct hv_device *dev);
int rndis_filter_receive(struct hv_device *dev, int rndis_filter_receive(struct hv_device *dev,
......
...@@ -352,7 +352,7 @@ static int netvsc_probe(struct hv_device *dev) ...@@ -352,7 +352,7 @@ static int netvsc_probe(struct hv_device *dev)
/* Notify the netvsc driver of the new device */ /* Notify the netvsc driver of the new device */
device_info.ring_size = ring_size; device_info.ring_size = ring_size;
ret = rndis_filte_device_add(dev, &device_info); ret = rndis_filter_device_add(dev, &device_info);
if (ret != 0) { if (ret != 0) {
free_netdev(net); free_netdev(net);
dev_set_drvdata(&dev->device, NULL); dev_set_drvdata(&dev->device, NULL);
......
...@@ -681,7 +681,7 @@ static int rndis_filter_close_device(struct rndis_device *dev) ...@@ -681,7 +681,7 @@ static int rndis_filter_close_device(struct rndis_device *dev)
return ret; return ret;
} }
int rndis_filte_device_add(struct hv_device *dev, int rndis_filter_device_add(struct hv_device *dev,
void *additional_info) void *additional_info)
{ {
int ret; int ret;
......
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