]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: netvsc: Rename deviceInfo as device_info
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 13 Sep 2011 17:59:56 +0000 (10:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:06:04 +0000 (20:06 +0200)
Rename deviceInfo as device_info.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/rndis_filter.c

index bfe91292e9e0457720520b10410b0bf62ec47081..963582acb6aec258e2086696b96305f7eff3550d 100644 (file)
@@ -691,7 +691,7 @@ int rndis_filter_device_add(struct hv_device *dev,
        int ret;
        struct netvsc_device *net_device;
        struct rndis_device *rndis_device;
-       struct netvsc_device_info *deviceInfo = additional_info;
+       struct netvsc_device_info *device_info = additional_info;
 
        rndis_device = get_rndis_device();
        if (!rndis_device)
@@ -732,15 +732,15 @@ int rndis_filter_device_add(struct hv_device *dev,
                 */
        }
 
-       memcpy(deviceInfo->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN);
+       memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN);
 
        rndis_filter_query_device_link_status(rndis_device);
 
-       deviceInfo->link_state = rndis_device->link_stat;
+       device_info->link_state = rndis_device->link_stat;
 
        dev_info(&dev->device, "Device MAC %pM link state %s",
                 rndis_device->hw_mac_adr,
-                ((deviceInfo->link_state) ? ("down\n") : ("up\n")));
+                ((device_info->link_state) ? ("down\n") : ("up\n")));
 
        return ret;
 }