From: Kamal Mostafa Date: Wed, 21 Nov 2012 07:04:35 +0000 (-0800) Subject: Input: increase struct ps2dev cmdbuf[] to 8 bytes X-Git-Tag: v3.9-rc8~9^2~12^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80524f083e2c3e70057f5bb476db92baa14cb22b;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/include/linux/libps2.h b/include/linux/libps2.h index 79603a6..4ad06e8 100644 --- a/include/linux/libps2.h +++ b/include/linux/libps2.h @@ -36,7 +36,7 @@ struct ps2dev { wait_queue_head_t wait; unsigned long flags; - unsigned char cmdbuf[6]; + unsigned char cmdbuf[8]; unsigned char cmdcnt; unsigned char nak; };