Skip to content

Commit

Permalink
Staging: hv: hv_mouse: fix up guid variable name
Browse files Browse the repository at this point in the history
It wasn't a global either, yet it was called one for some reason...

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent 92d40b7 commit df7ed92
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 @@ -191,7 +191,7 @@ struct mousevsc_dev {
static const char *driver_name = "mousevsc";

/* {CFA8B69E-5B4A-4cc0-B98B-8BA1A1F3F95A} */
static const struct hv_guid gMousevscDeviceType = {
static const struct hv_guid mouse_guid = {
.data = {0x9E, 0xB6, 0xA8, 0xCF, 0x4A, 0x5B, 0xc0, 0x4c,
0xB9, 0x8B, 0x8B, 0xA1, 0xA1, 0xF3, 0xF9, 0x5A}
};
Expand Down Expand Up @@ -998,7 +998,7 @@ static int mouse_vsc_initialize(struct hv_driver *Driver)
int ret = 0;

Driver->name = driver_name;
memcpy(&Driver->dev_type, &gMousevscDeviceType,
memcpy(&Driver->dev_type, &mouse_guid,
sizeof(struct hv_guid));

/* Setup the dispatch table */
Expand Down

0 comments on commit df7ed92

Please sign in to comment.