Skip to content

Commit

Permalink
Staging: hv: hv_mouse: fix up camelcase usage in struct pipe_prt_msg
Browse files Browse the repository at this point in the history
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 9877fa4 commit e7de0ad
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 @@ -147,7 +147,7 @@ enum pipe_prot_msg_type {
struct pipe_prt_msg {
enum pipe_prot_msg_type type;
u32 size;
char Data[1];
char data[1];
};

/*
Expand Down Expand Up @@ -460,7 +460,7 @@ static void MousevscOnReceive(struct hv_device *Device, struct vmpacket_descript
return ;
}

hidMsg = (struct synthhid_msg *)&pipeMsg->Data[0];
hidMsg = (struct synthhid_msg *)&pipeMsg->data[0];

switch (hidMsg->header.type) {
case SynthHidProtocolResponse:
Expand All @@ -479,11 +479,11 @@ static void MousevscOnReceive(struct hv_device *Device, struct vmpacket_descript
* hid desc and report desc
*/
MousevscOnReceiveDeviceInfo(inputDevice,
(struct synthhid_device_info *)&pipeMsg->Data[0]);
(struct synthhid_device_info *)&pipeMsg->data[0]);
break;
case SynthHidInputReport:
MousevscOnReceiveInputReport(inputDevice,
(struct synthhid_input_report *)&pipeMsg->Data[0]);
(struct synthhid_input_report *)&pipeMsg->data[0]);

break;
default:
Expand Down

0 comments on commit e7de0ad

Please sign in to comment.