Staging: hv: storvsc_drv: Directly assign the driver name
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:56:04 +0000 (07:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:26 +0000 (13:49 -0700)
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/storvsc_drv.c

index f37c836eb3360856833fabda5221893599a532c2..e342bccb2bf6e694a31af1f96b26ffff30827afc 100644 (file)
@@ -806,7 +806,7 @@ static int storvsc_drv_init(void)
            STORVSC_MAX_IO_REQUESTS)
                return -1;
 
-       drv->driver.name = storvsc_drv_obj->base.name;
+       drv->driver.name = driver_name;
 
 
        /* The driver belongs to vmbus */