mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 08:34:20 +08:00
[media] pvrusb2: replace .ioctl by .unlocked_ioctl
As far as I can tell pvrusb2 does its own locking, so there is no need to use .ioctl. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
b44b2e06ae
commit
ab91c61129
@ -1247,7 +1247,7 @@ static const struct v4l2_file_operations vdev_fops = {
|
|||||||
.open = pvr2_v4l2_open,
|
.open = pvr2_v4l2_open,
|
||||||
.release = pvr2_v4l2_release,
|
.release = pvr2_v4l2_release,
|
||||||
.read = pvr2_v4l2_read,
|
.read = pvr2_v4l2_read,
|
||||||
.ioctl = pvr2_v4l2_ioctl,
|
.unlocked_ioctl = pvr2_v4l2_ioctl,
|
||||||
.poll = pvr2_v4l2_poll,
|
.poll = pvr2_v4l2_poll,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user