Skip to content

Commit

Permalink
Staging: hv: hv_mouse: fix camelcase in struct synthhid_device_info_ack
Browse files Browse the repository at this point in the history
Just one field to fix up, s/Reserved/reserved/g
Odd that we have to set the reserved field to 0 when we send the
message, that would imply that it really isn't "reserved"...

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 18bc44e commit 6ed10de
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 @@ -122,7 +122,7 @@ struct synthhid_device_info {

struct synthhid_device_info_ack {
struct synthhid_msg_hdr header;
unsigned char Reserved;
unsigned char reserved;
};

struct synthhid_input_report {
Expand Down Expand Up @@ -387,7 +387,7 @@ static void MousevscOnReceiveDeviceInfo(struct mousevsc_dev *InputDevice, struct

ack.u.Ack.header.type = SynthHidInitialDeviceInfoAck;
ack.u.Ack.header.size = 1;
ack.u.Ack.Reserved = 0;
ack.u.Ack.reserved = 0;

ret = vmbus_sendpacket(InputDevice->Device->channel,
&ack,
Expand Down

0 comments on commit 6ed10de

Please sign in to comment.