summaryrefslogtreecommitdiff
path: root/lib/div64.c
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2009-08-12 08:12:08 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-12 08:16:13 (GMT)
commitec8b4b7085605e801a7740a2c3c33256aebe249c (patch)
tree84ac0a46fc34eb0619b4b01b2d1fbc059b5f83d5 /lib/div64.c
parentd82f1c35348cebe2fb2d4a4d31ce0ab0769e3d93 (diff)
downloadlinux-fsl-qoriq-ec8b4b7085605e801a7740a2c3c33256aebe249c.tar.xz
Input: joydev - decouple axis and button map ioctls from input constants
The KEY_MAX change in 2.6.28 changed the values of the JSIOCSBTNMAP and JSIOCGBTNMAP constants; software compiled with the old values no longer works with kernels following 2.6.28, because the ioctl switch statement no longer matches the values given by the software. This patch handles these ioctls independently of the length of data specified, and applies the same treatment to JSIOCSAXMAP and JSIOCGAXMAP which currently depend on ABS_MAX. Signed-off-by: Stephen Kitt <steve@sk2.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions