Misc: phantom, add compat ioctl
authorJiri Slaby <jirislaby@gmail.com>
Tue, 29 Apr 2008 07:59:13 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:02 +0000 (08:06 -0700)
commit7e4e8e689fe90dd94bd76f9706d6cce580941ed5
treee4ae62a26e891ca1f17740231a68541feda29eee
parenteb0f1c442d7cf1f7cb746c26c6120bb42e69c49c
Misc: phantom, add compat ioctl

Openhaptics uses pointers in _IOC() macros, implement compat for them. Also
add _IOC alternatives which are not 32/64 bit dependent (structures
passed through aren't yet) -- libphantom will use them.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/phantom.c
include/linux/phantom.h