[PATCH 092/206] Staging: hv: Rename the variable g_mousevsc_drv

From: K. Y. Srinivasan
Date: Mon May 09 2011 - 17:54:25 EST


The subject line says it all.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: Abhishek Kane <v-abkane@xxxxxxxxxxxxx>
Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
---
drivers/staging/hv/hv_mouse.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index b708663..cc3c1d4 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -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.");

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/