projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2150c19
)
drm/omap: define compat_ioctl
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 24 Feb 2017 11:24:50 +0000
(13:24 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:14 +0000
(10:57 +0300)
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>
drivers/gpu/drm/omapdrm/omap_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/omap_drv.c
b/drivers/gpu/drm/omapdrm/omap_drv.c
index b8d9be4f136a3877ef6e6eaa343b67bdd02e8e01..022029ea69722cd823ca47f519bcb28d8e1e5b7f 100644
(file)
--- 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,