diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:53:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:38:51 -0700 |
commit | 1f9c54e40f8a70d2505fff08e6c0d1d7dc9761f6 (patch) | |
tree | 7d0524a80cff60f8ce8d80e4051db409d916c32a /drivers/staging/hv/blkvsc_drv.c | |
parent | 5e9fed195bac5eb89e2ee3c9ce89379b8a55be4f (diff) | |
download | op-kernel-dev-1f9c54e40f8a70d2505fff08e6c0d1d7dc9761f6.zip op-kernel-dev-1f9c54e40f8a70d2505fff08e6c0d1d7dc9761f6.tar.gz |
Staging: hv: blkvsc_drv: Rename the device type variable
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>
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index b54130b..51d1265 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -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 @@ -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)); /* |