Skip to content

Commit

Permalink
Staging: hv: blkvsc_drv: Rename the device type variable
Browse files Browse the repository at this point in the history
Rename the variable g_blk_device_type.

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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 5e9fed1 commit 1f9c54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct block_device_context {
static const char *drv_name = "blkvsc";

/* {32412632-86cb-44a2-9b5c-50d1417354f5} */
static const struct hv_guid g_blk_device_type = {
static const struct hv_guid dev_type = {
.data = {
0x32, 0x26, 0x41, 0x32, 0xcb, 0x86, 0xa2, 0x44,
0x9b, 0x5c, 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5
Expand Down Expand Up @@ -178,7 +178,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 = drv_name;
memcpy(&driver->dev_type, &g_blk_device_type, sizeof(struct hv_guid));
memcpy(&driver->dev_type, &dev_type, sizeof(struct hv_guid));


/*
Expand Down

0 comments on commit 1f9c54e

Please sign in to comment.