Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75275
b: refs/heads/master
c: 3fee37c
h: refs/heads/master
i:
  75273: caf9d2f
  75271: 976d20c
v: v3
  • Loading branch information
Akos Maroy authored and Linus Torvalds committed Jan 6, 2008
1 parent b4a1101 commit 6d4f809
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b3d9545f9ac8b31528dd2d6d8ec8d19922917b8
refs/heads/master: 3fee37c1e2579ed3d6090f690e5fd8cf7fa3bb44
8 changes: 8 additions & 0 deletions trunk/fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* ioctls.
*/

#include <linux/joystick.h>

#include <linux/types.h>
#include <linux/compat.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -2642,6 +2644,12 @@ COMPATIBLE_IOCTL(VIDEO_SET_ATTRIBUTES)
COMPATIBLE_IOCTL(VIDEO_GET_SIZE)
COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE)

/* joystick */
COMPATIBLE_IOCTL(JSIOCGVERSION)
COMPATIBLE_IOCTL(JSIOCGAXES)
COMPATIBLE_IOCTL(JSIOCGBUTTONS)
COMPATIBLE_IOCTL(JSIOCGNAME(0))

/* now things that need handlers */
HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob)
HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob)
Expand Down

0 comments on commit 6d4f809

Please sign in to comment.