OSDN Git Service

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)
commit04b72322e85dd7987085a4d29a29ebc1a5ad5dd2
tree0265a01fe624c143df6a4d4355fb6c8bba7b9bb4
parent8a24280b11ea49ed13d384c7426419201600c3a9
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