return 0;
}
-static int keyed_stream_ioctl_user(struct inode *inode, struct file *filp, unsigned int ioctl, unsigned long arg)
+static long keyed_stream_ioctl_user(struct file * filp, unsigned int ioctl, unsigned long arg)
{
void __user *argp = (void __user *)arg;
unsigned long flags;
}
}
-static long keyed_stream_compat_ioctl_user(struct file * filp, unsigned int ioctl, unsigned long arg)
-{
- return keyed_stream_ioctl_user(NULL, filp, ioctl, arg);
-}
static int keyed_stream_release_user(struct inode *inode, struct file *filp)
{
static struct file_operations user_keyed_stream_fops = {
.poll = keyed_stream_poll_user,
-#ifdef HAVE_COMPAT_IOCTL
- .compat_ioctl = keyed_stream_compat_ioctl_user,
-#else
- .ioctl = keyed_stream_ioctl_user,
-#endif
+ .compat_ioctl = keyed_stream_ioctl_user,
+ .unlocked_ioctl = keyed_stream_ioctl_user,
.release = keyed_stream_release_user,
};