mirror of https://gitee.com/openkylin/linux.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 <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
2150c19b15
commit
9d24159a6c
|
@ -493,6 +493,7 @@ static const struct file_operations omapdriver_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = drm_open,
|
.open = drm_open,
|
||||||
.unlocked_ioctl = drm_ioctl,
|
.unlocked_ioctl = drm_ioctl,
|
||||||
|
.compat_ioctl = drm_compat_ioctl,
|
||||||
.release = drm_release,
|
.release = drm_release,
|
||||||
.mmap = omap_gem_mmap,
|
.mmap = omap_gem_mmap,
|
||||||
.poll = drm_poll,
|
.poll = drm_poll,
|
||||||
|
|
Loading…
Reference in New Issue