Skip to content

Commit

Permalink
staging: hv: fix typo in name rndis_filte_device_add()
Browse files Browse the repository at this point in the history
rename rndis_filte_device_add to rndis_filter_device_add

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@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>
  • Loading branch information
Haiyang Zhang authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 8d895ae commit bdbad57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/hyperv_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int netvsc_recv_callback(struct hv_device *device_obj,
int netvsc_initialize(struct hv_driver *drv);
int rndis_filter_open(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 rndis_filter_device_remove(struct hv_device *dev);
int rndis_filter_receive(struct hv_device *dev,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static int netvsc_probe(struct hv_device *dev)

/* Notify the netvsc driver of the new device */
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) {
free_netdev(net);
dev_set_drvdata(&dev->device, NULL);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ static int rndis_filter_close_device(struct rndis_device *dev)
return ret;
}

int rndis_filte_device_add(struct hv_device *dev,
int rndis_filter_device_add(struct hv_device *dev,
void *additional_info)
{
int ret;
Expand Down

0 comments on commit bdbad57

Please sign in to comment.