diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-08-27 21:56:23 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-12 17:00:51 +0200 |
commit | e6c8320648a27d2f43bf56c6215fa48d85bf47c6 (patch) | |
tree | 13689dd3b2106e071678a6a06911f00b229346d8 /drivers/media/cec | |
parent | media: dvb: dmxdev: move compat_ioctl handling to dmxdev.c (diff) | |
download | linux-e6c8320648a27d2f43bf56c6215fa48d85bf47c6.tar.xz linux-e6c8320648a27d2f43bf56c6215fa48d85bf47c6.zip |
media: cec: move compat_ioctl handling to cec-api.c
All the CEC ioctls are compatible, and they are only implemented
in one driver, so we can simply let this driver handle them
natively.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/cec')
-rw-r--r-- | drivers/media/cec/cec-api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c index 27ae9e138b8e..19170b1073fa 100644 --- a/drivers/media/cec/cec-api.c +++ b/drivers/media/cec/cec-api.c @@ -665,6 +665,7 @@ const struct file_operations cec_devnode_fops = { .owner = THIS_MODULE, .open = cec_open, .unlocked_ioctl = cec_ioctl, + .compat_ioctl = cec_ioctl, .release = cec_release, .poll = cec_poll, .llseek = no_llseek, |