diff options
author | Kamal Mostafa <kamal@canonical.com> | 2012-11-21 02:04:35 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-01-06 04:11:25 -0500 |
commit | 80524f083e2c3e70057f5bb476db92baa14cb22b (patch) | |
tree | 2a658ca9cc1745406cc363e45f782c70f15b6613 /include | |
parent | 02295e68cf6ae81e94fbcfa61afde299ded593b1 (diff) |
Input: increase struct ps2dev cmdbuf[] to 8 bytes
Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs
this larger cmdbuf[] to handle 8-byte packet responses.
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libps2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libps2.h b/include/linux/libps2.h index 79603a6c356f..4ad06e824f76 100644 --- a/include/linux/libps2.h +++ b/include/linux/libps2.h | |||
@@ -36,7 +36,7 @@ struct ps2dev { | |||
36 | wait_queue_head_t wait; | 36 | wait_queue_head_t wait; |
37 | 37 | ||
38 | unsigned long flags; | 38 | unsigned long flags; |
39 | unsigned char cmdbuf[6]; | 39 | unsigned char cmdbuf[8]; |
40 | unsigned char cmdcnt; | 40 | unsigned char cmdcnt; |
41 | unsigned char nak; | 41 | unsigned char nak; |
42 | }; | 42 | }; |