]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hidraw: add compatibility ioctl() for 32-bit applications.
authorAlan Ott <alan@signal11.us>
Tue, 4 Jan 2011 05:37:22 +0000 (00:37 -0500)
committerJiri Kosina <jkosina@suse.cz>
Tue, 4 Jan 2011 10:21:28 +0000 (11:21 +0100)
commita68f0d8fff0a67ce3a120e2e8995eb0c78406d90
tree06db2f9f459515ee6e2cc74721108e718d8a6afc
parent35029b0cb576c1ab3b621d009febe4b635afd0c8
HID: hidraw: add compatibility ioctl() for 32-bit applications.

Added the ioctl function to the compat_ioctl pointer in the file_operations
struct. Before this, some ioctls would fail for 32-bit apps on 64-bit systems.

Signed-off-by: Alan Ott <alan@signal11.us>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c