Commit 5e9fed19 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: blkvsc_drv: Rename driver name variable

Rename the variable g_blk_driver_name.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@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 67de49c1
......@@ -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));
......
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