From: John Sung Date: Tue, 9 Sep 2014 17:06:51 +0000 (-0700) Subject: Input: serport - add compat handling for SPIOCSTYPE ioctl X-Git-Tag: v3.2.64~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a91e2d1a2a7c521b1ca22dd4216bc1f4fb81cbc;p=pandora-kernel.git Input: serport - add compat handling for SPIOCSTYPE ioctl commit a80d8b02751060a178bb1f7a6b7a93645a7a308b upstream. When running a 32-bit inputattach utility in a 64-bit system, there will be error code "inputattach: can't set device type". This is caused by the serport device driver not supporting compat_ioctl, so that SPIOCSTYPE ioctl fails. Signed-off-by: John Sung Signed-off-by: Dmitry Torokhov Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed