Skip to content

Commit

Permalink
Staging: hv: mouse_vsc: Rename the variable g_mousevsc_drv
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent d489097 commit 19912a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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.");

Expand Down

0 comments on commit 19912a4

Please sign in to comment.