Staging: hv: blkvsc_drv: Assign the name directly
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:51 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:20 +0000 (13:49 -0700)
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>
drivers/staging/hv/blkvsc_drv.c

index fee63e3..182a191 100644 (file)
@@ -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);