]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: mouse_vsc: Rename the variable g_mousevsc_drv
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:18 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:48:58 +0000 (13:48 -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/hv_mouse.c

index b7086634a445238526aa4764c256c7c8a528027b..cc3c1d45dbb024125f54f27b8ca77fe24b483bea 100644 (file)
@@ -794,7 +794,7 @@ struct input_device_context {
 };
 
 
-static struct  mousevsc_drv_obj g_mousevsc_drv;
+static struct  mousevsc_drv_obj mousevsc_drv;
 
 static void deviceinfo_callback(struct hv_device *dev, struct hv_input_dev_info *info)
 {
@@ -947,7 +947,7 @@ static int mousevsc_drv_exit_cb(struct device *dev, void *data)
 
 static void mousevsc_drv_exit(void)
 {
-       struct hv_driver *drv = &g_mousevsc_drv.base;
+       struct hv_driver *drv = &mousevsc_drv.base;
        int ret;
 
        struct device *current_dev = NULL;
@@ -986,8 +986,8 @@ static int mouse_vsc_initialize(struct hv_driver *driver)
 
 static int __init mousevsc_init(void)
 {
-       struct mousevsc_drv_obj *input_drv_obj = &g_mousevsc_drv;
-       struct hv_driver *drv = &g_mousevsc_drv.base;
+       struct mousevsc_drv_obj *input_drv_obj = &mousevsc_drv;
+       struct hv_driver *drv = &mousevsc_drv.base;
 
        DPRINT_INFO(INPUTVSC_DRV, "Hyper-V Mouse driver initializing.");