summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 19:39:48 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 19:39:48 -0800
commite7de0adf89c2f8a36f839b9dfc98b91239f5a3d5 (patch)
treee85dbe9c31787516b410a97d41dc171d7f9462ac
parent9877fa4445b907b8aa271783e3e5ee99a143b65c (diff)
downloadlinux-stable-e7de0adf89c2f8a36f839b9dfc98b91239f5a3d5.tar.gz
linux-stable-e7de0adf89c2f8a36f839b9dfc98b91239f5a3d5.tar.bz2
linux-stable-e7de0adf89c2f8a36f839b9dfc98b91239f5a3d5.zip
Staging: hv: hv_mouse: fix up camelcase usage in struct pipe_prt_msg
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>
-rw-r--r--drivers/staging/hv/hv_mouse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 5bee3ffb831d..95e9e68d7441 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -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];
};
/*
@@ -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:
@@ -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: