diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2015-01-25 09:47:47 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-01-26 08:25:41 -0500 |
commit | 3458e4c0e5f8783ae699e1205062d1fdd2a48cca (patch) | |
tree | 1e826464c0031bccd11a5cadb25f2252ab825b26 | |
parent | 86312e4b78647d9fa62cf2293c50161cc0421d30 (diff) |
HID: hyperv: match wait_for_completion_timeout return type
The return type of wait_for_completion_timeout is unsigned long not
int. This patch fixes up the declarations only.
Patch was compile tested only for x86_64_defconfig + CONFIG_X86_VSMP=y
CONFIG_HYPERV=m, CONFIG_HID_HYPERV_MOUSE=m
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/hid-hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index 31fad641b744..6039f071fab1 100644 --- a/drivers/hid/hid-hyperv.c +++ b/drivers/hid/hid-hyperv.c | |||
@@ -381,7 +381,7 @@ static void mousevsc_on_channel_callback(void *context) | |||
381 | static int mousevsc_connect_to_vsp(struct hv_device *device) | 381 | static int mousevsc_connect_to_vsp(struct hv_device *device) |
382 | { | 382 | { |
383 | int ret = 0; | 383 | int ret = 0; |
384 | int t; | 384 | unsigned long t; |
385 | struct mousevsc_dev *input_dev = hv_get_drvdata(device); | 385 | struct mousevsc_dev *input_dev = hv_get_drvdata(device); |
386 | struct mousevsc_prt_msg *request; | 386 | struct mousevsc_prt_msg *request; |
387 | struct mousevsc_prt_msg *response; | 387 | struct mousevsc_prt_msg *response; |