linux/drivers/media/pci/ivtv
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
..
ivtv-alsa-main.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-alsa-pcm.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-alsa-pcm.h
ivtv-alsa.h
ivtv-cards.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-cards.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-controls.c
ivtv-controls.h
ivtv-driver.c media: pci: ivtv: Replace GFP_ATOMIC with GFP_KERNEL 2018-07-27 08:15:55 -04:00
ivtv-driver.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-fileops.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
ivtv-fileops.h media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
ivtv-firmware.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-firmware.h
ivtv-gpio.c
ivtv-gpio.h
ivtv-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-i2c.h
ivtv-ioctl.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-ioctl.h
ivtv-irq.c media: pci: Convert timers to use timer_setup() 2017-10-31 07:24:43 -04:00
ivtv-irq.h media: pci: Convert timers to use timer_setup() 2017-10-31 07:24:43 -04:00
ivtv-mailbox.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-mailbox.h
ivtv-queue.c
ivtv-queue.h
ivtv-routing.c
ivtv-routing.h
ivtv-streams.c media: dvb: move most compat_ioctl handling into drivers 2018-09-12 11:00:51 -04:00
ivtv-streams.h
ivtv-udma.c [media] ivtv: use for_each_sg 2017-04-05 15:17:15 -03:00
ivtv-udma.h
ivtv-vbi.c
ivtv-vbi.h
ivtv-version.h
ivtv-yuv.c
ivtv-yuv.h
ivtvfb.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Kconfig
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00