And, it's not even a global, so the original creator got the Hungarian
notation wrong!  {sigh}

Cc: Hank Janssen <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 drivers/staging/hv/hv_mouse.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 0b10312..a3a4f28 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -188,10 +188,7 @@ struct mousevsc_dev {
 };
 
 
-/*
- * Globals
- */
-static const char *gDriverName = "mousevsc";
+static const char *driver_name = "mousevsc";
 
 /* {CFA8B69E-5B4A-4cc0-B98B-8BA1A1F3F95A} */
 static const struct hv_guid gMousevscDeviceType = {
@@ -1000,7 +997,7 @@ static int mouse_vsc_initialize(struct hv_driver *Driver)
                (struct mousevsc_drv_obj *)Driver;
        int ret = 0;
 
-       Driver->name = gDriverName;
+       Driver->name = driver_name;
        memcpy(&Driver->dev_type, &gMousevscDeviceType,
               sizeof(struct hv_guid));
 
-- 
1.7.4.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to