diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:55:51 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:49:20 -0700 |
commit | 5457c719ac36dbac1cc88ac59cf9e090acefa70b (patch) | |
tree | ca013b7a433310ff27bf7ee815d9b4b854ac69be /drivers/staging/hv/blkvsc_drv.c | |
parent | 2ee8e4206b69ff34b19cb6facf6d848a2b3b1a3f (diff) | |
download | op-kernel-dev-5457c719ac36dbac1cc88ac59cf9e090acefa70b.zip op-kernel-dev-5457c719ac36dbac1cc88ac59cf9e090acefa70b.tar.gz |
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>
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 2 |
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); |