Staging: hv: blkvsc_drv: Rename driver name variable
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>
This commit is contained in:
parent
67de49c154
commit
5e9fed195b
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue