linux/drivers/media
Arnd Bergmann 8a24280b11 media: dvb: move most compat_ioctl handling into drivers
Most DVB audio and video ioctl commands are completely compatible,
and are implemented by just two drivers: ttpci and ivtv. In both
cases, we can use the same ioctl handler for both native and
compat ioctl handling, and remove the entries from the global
lookup table.

In case of ttpci, this directly hooks into the file_operations
structure, and for ivtv, we have to set the compat_ioctl32
method in v4l2_file_operations. For all I can tell, setting it
to video_ioctl2 will still do the right thing for all commands.

Note that for the VIDEO_STILLPICTURE and VIDEO_GET_EVENT commands,
a translation handler in fs/compat_ioctl.c is still used. This
works because the command numbers are different on 32-bit
systems.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-12 11:00:51 -04:00
..
cec media: cec: move compat_ioctl handling to cec-api.c 2018-09-12 11:00:51 -04:00
common media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
dvb-core media: dvb: dmxdev: move compat_ioctl handling to dmxdev.c 2018-09-12 11:00:51 -04:00
dvb-frontends media: dvb-frontends: add LNBH29 LNB supply driver 2018-09-12 09:24:41 -04:00
firewire media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
i2c media: i2c: max2175: convert to SPDX identifiers 2018-09-12 10:51:18 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: dvb: move most compat_ioctl handling into drivers 2018-09-12 11:00:51 -04:00
platform media: mtk_vcodec_util: Use dma_zalloc_coherent to replace dma_alloc_coherent + memset 2018-09-12 10:48:59 -04:00
radio media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
rc media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
usb media: usbvision: remove time_in_irq 2018-09-12 08:02:25 -04:00
v4l2-core media: v4l2-common: v4l2_spi_subdev_init : generate unique name 2018-09-12 09:21:09 -04:00
Kconfig media: cec: Kconfig coding style issue 2018-05-09 16:26:50 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00