From: Tomi Valkeinen Date: Fri, 24 Feb 2017 11:24:50 +0000 (+0200) Subject: drm/omap: define compat_ioctl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d24159a6c007cfa50a1d5165207c67ae247a602;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/omap: define compat_ioctl Define compat_ioctl in omapdriver_fops to make it possible to use 32bit apps on 64bit platform. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index b8d9be4f136a..022029ea6972 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -493,6 +493,7 @@ static const struct file_operations omapdriver_fops = { .owner = THIS_MODULE, .open = drm_open, .unlocked_ioctl = drm_ioctl, + .compat_ioctl = drm_compat_ioctl, .release = drm_release, .mmap = omap_gem_mmap, .poll = drm_poll,