]> git.baikalelectronics.ru Git - kernel.git/commit
media: dvb: move compat handlers into drivers
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Aug 2018 19:56:25 +0000 (15:56 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 15:00:51 +0000 (11:00 -0400)
commitb7edf567340d45399aec3f77f484edfaf42ccb04
tree0265a01fe624c143df6a4d4355fb6c8bba7b9bb4
parentd91394a138ba5c2a99a4977ea6229ea5c1f15192
media: dvb: move compat handlers into drivers

The VIDEO_STILLPICTURE is only implemented by one driver, while
VIDEO_GET_EVENT has two users in tree. In both cases, it is fairly
easy to handle the compat ioctls in the native handler rather
than relying on translation in fs/compat_ioctls.

In effect, this means that now the drivers implement both structure
layouts in both native and compat mode, but I don't see anything
wrong with that.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ivtv/ivtv-ioctl.c
drivers/media/pci/ttpci/av7110_av.c
fs/compat_ioctl.c