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 int keyed_stream_release_user(struct inode *inode, struct file *filp)
{
struct user_keyed_stream *s = filp->private_data;
static struct file_operations user_keyed_stream_fops = {
.poll = keyed_stream_poll_user,
- .ioctl = keyed_stream_ioctl_user,
+ .compat_ioctl = keyed_stream_ioctl_user,
+ .unlocked_ioctl = keyed_stream_ioctl_user,
.release = keyed_stream_release_user,
};