summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-05-10 14:55:51 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-11 20:49:20 (GMT)
commit5457c719ac36dbac1cc88ac59cf9e090acefa70b (patch)
treeca013b7a433310ff27bf7ee815d9b4b854ac69be
parent2ee8e4206b69ff34b19cb6facf6d848a2b3b1a3f (diff)
downloadlinux-fsl-qoriq-5457c719ac36dbac1cc88ac59cf9e090acefa70b.tar.xz
Staging: hv: blkvsc_drv: Assign the name directly
Assign the driver name directly. 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>
-rw-r--r--drivers/staging/hv/blkvsc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c
index fee63e3..182a191 100644
--- a/drivers/staging/hv/blkvsc_drv.c
+++ b/drivers/staging/hv/blkvsc_drv.c
@@ -842,7 +842,7 @@ static int blkvsc_drv_init(void)
/* Callback to client driver to complete the initialization */
blk_vsc_initialize(&storvsc_drv->base);
- drv->driver.name = storvsc_drv->base.name;
+ drv->driver.name = drv_name;
/* The driver belongs to vmbus */
ret = vmbus_child_driver_register(&drv->driver);