diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-24 13:24:50 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-06-02 10:57:14 +0300 |
commit | 9d24159a6c007cfa50a1d5165207c67ae247a602 (patch) | |
tree | 85208794116f99ac31c38e59959851d07a972d47 | |
parent | 2150c19b15b01458cfa0b2db68c7ad035011a1fb (diff) | |
download | lwn-9d24159a6c007cfa50a1d5165207c67ae247a602.tar.gz lwn-9d24159a6c007cfa50a1d5165207c67ae247a602.zip |
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 <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |