[PATCH 667/961] Staging: hv: hv_mouse: clean up camelcase in struct synthhid_protocol_response

Greg Kroah-Hartman gregkh at suse.de
Wed Mar 16 21:05:10 UTC 2011


Cc: Hank Janssen <hjanssen at microsoft.com>
Cc: K. Y. Srinivasan <kys at microsoft.com>
Cc: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/hv/hv_mouse.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 0f0caf0..98242cf 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -111,7 +111,7 @@ struct synthhid_protocol_request {
 struct synthhid_protocol_response {
 	struct synthhid_msg_hdr header;
 	union synthhid_version version_requested;
-	unsigned char Approved;
+	unsigned char approved;
 };
 
 struct synthhid_device_info {
@@ -635,7 +635,7 @@ static int MousevscConnectToVsp(struct hv_device *Device)
 
 	response = &inputDevice->ProtocolResp;
 
-	if (!response->u.Response.Approved) {
+	if (!response->u.Response.approved) {
 		pr_err("synthhid protocol request failed (version %d)",
 		       SYNTHHID_INPUT_VERSION);
 		ret = -1;
-- 
1.7.4.1




More information about the devel mailing list