aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <[email protected]>2011-05-10 07:56:12 -0700
committerGreg Kroah-Hartman <[email protected]>2011-05-11 13:49:29 -0700
commiteb94b2f5e4c8bbe804eb6f0add71d69836033715 (patch)
treed57fe8d3ce74eed276b954f64edeb0114a01e6d7
parent495f3b3a974c31d5e7400dbd6fe3143be2afa7d0 (diff)
Staging: hv: mouse_drv: Directly assign the driver name
Directly assign the driver name. Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/hv/hv_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 4475534320ab..5f30e391832c 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -997,7 +997,7 @@ static int __init mousevsc_init(void)
/* Callback to client driver to complete the initialization */
mouse_vsc_initialize(&input_drv_obj->base);
- drv->driver.name = input_drv_obj->base.name;
+ drv->driver.name = driver_name;
/* The driver belongs to vmbus */
vmbus_child_driver_register(&drv->driver);