]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
HID: hiddev: Add 32bit ioctl compatibilty
authorPhilip Langdale <philipl@overt.org>
Sun, 14 Oct 2007 10:03:58 +0000 (12:03 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sun, 14 Oct 2007 11:40:02 +0000 (13:40 +0200)
commitbb6c8d8fa9b5587eea18078ce0bcf6bb2905789f
treed96a2c81885001a887469b400b2ae920b2f194f2
parent446943593e6e2cb7133cb6c969afd4626c96a916
HID: hiddev: Add 32bit ioctl compatibilty

The hiddev driver currently lacks 32bit ioctl compatibility, so
if you're running with a 64bit kernel and 32bit userspace, it won't
work.

I'm pretty sure that the only thing missing is a compat_ioctl
implementation as all structs have fixed size fields.

With this change I can use revoco to configure my MX Revolution mouse.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hiddev.c