diff options
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | 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 5bee3ffb831..95e9e68d744 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c | |||
@@ -147,7 +147,7 @@ enum pipe_prot_msg_type { | |||
147 | struct pipe_prt_msg { | 147 | struct pipe_prt_msg { |
148 | enum pipe_prot_msg_type type; | 148 | enum pipe_prot_msg_type type; |
149 | u32 size; | 149 | u32 size; |
150 | char Data[1]; | 150 | char data[1]; |
151 | }; | 151 | }; |
152 | 152 | ||
153 | /* | 153 | /* |
@@ -460,7 +460,7 @@ static void MousevscOnReceive(struct hv_device *Device, struct vmpacket_descript | |||
460 | return ; | 460 | return ; |
461 | } | 461 | } |
462 | 462 | ||
463 | hidMsg = (struct synthhid_msg *)&pipeMsg->Data[0]; | 463 | hidMsg = (struct synthhid_msg *)&pipeMsg->data[0]; |
464 | 464 | ||
465 | switch (hidMsg->header.type) { | 465 | switch (hidMsg->header.type) { |
466 | case SynthHidProtocolResponse: | 466 | case SynthHidProtocolResponse: |
@@ -479,11 +479,11 @@ static void MousevscOnReceive(struct hv_device *Device, struct vmpacket_descript | |||
479 | * hid desc and report desc | 479 | * hid desc and report desc |
480 | */ | 480 | */ |
481 | MousevscOnReceiveDeviceInfo(inputDevice, | 481 | MousevscOnReceiveDeviceInfo(inputDevice, |
482 | (struct synthhid_device_info *)&pipeMsg->Data[0]); | 482 | (struct synthhid_device_info *)&pipeMsg->data[0]); |
483 | break; | 483 | break; |
484 | case SynthHidInputReport: | 484 | case SynthHidInputReport: |
485 | MousevscOnReceiveInputReport(inputDevice, | 485 | MousevscOnReceiveInputReport(inputDevice, |
486 | (struct synthhid_input_report *)&pipeMsg->Data[0]); | 486 | (struct synthhid_input_report *)&pipeMsg->data[0]); |
487 | 487 | ||
488 | break; | 488 | break; |
489 | default: | 489 | default: |