2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-14 00:24:15 +08:00
linux-next/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 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ivtv-alsa.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
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 [media] cx231xx: constify cx2341x_handler_ops structures 2015-12-03 11:27:08 -02:00
ivtv-controls.h [media] cx231xx: constify cx2341x_handler_ops structures 2015-12-03 11:27:08 -02:00
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 [media] pci/ivtv/ivtv-gpio: Remove compat control ops 2015-07-06 08:25:56 -03:00
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 [media] ivtv: steal could be NULL 2016-02-23 07:22:22 -03:00
ivtv-queue.h
ivtv-routing.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
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 [media] ivtv: embed video_device 2015-04-02 22:34:55 -03:00
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 Linux 4.9-rc5 2016-11-16 16:42:27 -02:00
ivtv-yuv.h
ivtvfb.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Kconfig [media] ivtv: mark DVB "borrowed" ioctls as deprecated 2017-02-03 07:08:24 -02:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00