Commit d4a197f4 authored by Kristian H. Kristensen's avatar Kristian H. Kristensen Committed by Gerd Hoffmann

udmabuf: Add missing compact_ioctl

Make sure we can use this on mixed systems.
Signed-off-by: default avatarKristian H. Kristensen <hoegsberg@google.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200903181652.432067-1-hoegsberg@google.comSigned-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent d2024cdf
......@@ -308,6 +308,9 @@ static long udmabuf_ioctl(struct file *filp, unsigned int ioctl,
static const struct file_operations udmabuf_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = udmabuf_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = udmabuf_ioctl,
#endif
};
static struct miscdevice udmabuf_misc = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment