Skip to content

Commit

Permalink
Staging: hv: Move the declaration of the variable mousevsc_drv
Browse files Browse the repository at this point in the history
Move the declaration of the variable mousevsc_drv.

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 19912a4 commit eebdd6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,6 @@ struct input_device_context {
};


static struct mousevsc_drv_obj mousevsc_drv;

static void deviceinfo_callback(struct hv_device *dev, struct hv_input_dev_info *info)
{
struct input_device_context *input_device_ctx =
Expand Down Expand Up @@ -945,6 +943,8 @@ static int mousevsc_drv_exit_cb(struct device *dev, void *data)
return 1;
}

static struct mousevsc_drv_obj mousevsc_drv;

static void mousevsc_drv_exit(void)
{
struct hv_driver *drv = &mousevsc_drv.base;
Expand Down

0 comments on commit eebdd6f

Please sign in to comment.