Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281018
b: refs/heads/master
c: a1914f5
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent 9c69894 commit 90cc5ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1a752883dda6287b075215e419a77359f33edff
refs/heads/master: a1914f5416352b3229abfb1947395844f7ee2321
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ struct mousevsc_prt_msg {
*/
struct mousevsc_dev {
struct hv_device *device;
unsigned char init_complete;
bool init_complete;
struct mousevsc_prt_msg protocol_req;
struct mousevsc_prt_msg protocol_resp;
/* Synchronize the request/response if needed */
Expand All @@ -159,7 +159,7 @@ struct mousevsc_dev {
unsigned char *report_desc;
u32 report_desc_size;
struct hv_input_dev_info hid_dev_info;
int connected;
bool connected;
struct hid_device *hid_device;
};

Expand Down Expand Up @@ -487,7 +487,7 @@ static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len)
if (!hidinput_connect(hid_dev, 0)) {
hid_dev->claimed |= HID_CLAIMED_INPUT;

input_device->connected = 1;
input_device->connected = true;

}

Expand Down Expand Up @@ -558,7 +558,7 @@ static int mousevsc_remove(struct hv_device *dev)

if (input_dev->connected) {
hidinput_disconnect(input_dev->hid_device);
input_dev->connected = 0;
input_dev->connected = false;
hid_destroy_device(input_dev->hid_device);
}

Expand Down

0 comments on commit 90cc5ef

Please sign in to comment.