From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:51 +0000 (-0700) Subject: Staging: hv: blkvsc_drv: Assign the name directly X-Git-Tag: v3.0-rc1~336^2~309 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5457c719ac36dbac1cc88ac59cf9e090acefa70b;p=karo-tx-linux.git Staging: hv: blkvsc_drv: Assign the name directly Assign the driver name directly. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index fee63e3410d6..182a1914a27f 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);