staging: hv: fix typo in name rndis_filte_device_add()
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 23 May 2011 16:03:49 +0000 (09:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:36:01 +0000 (13:36 -0700)
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>
drivers/staging/hv/hyperv_net.h
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/rndis_filter.c

index 6226dd343f00b46f167a2412ea115e14b556b92a..cf762bd3a1b1b1f764b2fdb4e1b1f97df4701a60 100644 (file)
@@ -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,
index 6a2f17d8e64385336b036a6060e1b4131d36934a..f510959add36cff09e4eca64b5f3489d7cf77dcc 100644 (file)
@@ -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);
index 572cec64b867045a9afae4b823f8744ce0d7253a..b142aae3331db79c3ead5ec2f546b494ff0dd0c6 100644 (file)
@@ -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;