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>
struct synthhid_protocol_response {
struct synthhid_msg_hdr header;
union synthhid_version version_requested;
- unsigned char Approved;
+ unsigned char approved;
};
struct synthhid_device_info {
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;