mirror of https://gitee.com/openkylin/linux.git
media: dvb: dmxdev: move compat_ioctl handling to dmxdev.c
All dmx ioctls are compatible, and they are only implemented in one file, so we can replace the list of commands in fs/compat_ioctl.c with a single line in dmxdev. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
1ccbeeb888
commit
b5d3206112
|
@ -1265,6 +1265,7 @@ static const struct file_operations dvb_demux_fops = {
|
|||
.owner = THIS_MODULE,
|
||||
.read = dvb_demux_read,
|
||||
.unlocked_ioctl = dvb_demux_ioctl,
|
||||
.compat_ioctl = dvb_demux_ioctl,
|
||||
.open = dvb_demux_open,
|
||||
.release = dvb_demux_release,
|
||||
.poll = dvb_demux_poll,
|
||||
|
|
|
@ -1180,18 +1180,6 @@ COMPATIBLE_IOCTL(AUDIO_CLEAR_BUFFER)
|
|||
COMPATIBLE_IOCTL(AUDIO_SET_ID)
|
||||
COMPATIBLE_IOCTL(AUDIO_SET_MIXER)
|
||||
COMPATIBLE_IOCTL(AUDIO_SET_STREAMTYPE)
|
||||
COMPATIBLE_IOCTL(DMX_START)
|
||||
COMPATIBLE_IOCTL(DMX_STOP)
|
||||
COMPATIBLE_IOCTL(DMX_SET_FILTER)
|
||||
COMPATIBLE_IOCTL(DMX_SET_PES_FILTER)
|
||||
COMPATIBLE_IOCTL(DMX_SET_BUFFER_SIZE)
|
||||
COMPATIBLE_IOCTL(DMX_GET_PES_PIDS)
|
||||
COMPATIBLE_IOCTL(DMX_GET_STC)
|
||||
COMPATIBLE_IOCTL(DMX_REQBUFS)
|
||||
COMPATIBLE_IOCTL(DMX_QUERYBUF)
|
||||
COMPATIBLE_IOCTL(DMX_EXPBUF)
|
||||
COMPATIBLE_IOCTL(DMX_QBUF)
|
||||
COMPATIBLE_IOCTL(DMX_DQBUF)
|
||||
COMPATIBLE_IOCTL(VIDEO_STOP)
|
||||
COMPATIBLE_IOCTL(VIDEO_PLAY)
|
||||
COMPATIBLE_IOCTL(VIDEO_FREEZE)
|
||||
|
|
Loading…
Reference in New Issue