Staging: hv: blkvsc_drv: Rename driver name variable
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:53:50 +0000 (07:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:38:51 +0000 (13:38 -0700)
Rename the variable g_blk_driver_name.

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>
drivers/staging/hv/blkvsc_drv.c

index 8a577bc..b54130b 100644 (file)
@@ -112,7 +112,7 @@ struct block_device_context {
        int users;
 };
 
-static const char *g_blk_driver_name = "blkvsc";
+static const char *drv_name = "blkvsc";
 
 /* {32412632-86cb-44a2-9b5c-50d1417354f5} */
 static const struct hv_guid g_blk_device_type = {
@@ -177,7 +177,7 @@ static int blk_vsc_initialize(struct hv_driver *driver)
 
        /* Make sure we are at least 2 pages since 1 page is used for control */
 
-       driver->name = g_blk_driver_name;
+       driver->name = drv_name;
        memcpy(&driver->dev_type, &g_blk_device_type, sizeof(struct hv_guid));