提交 2e1328dd 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] radio-bcm2048: use unlocked_ioctl instead of ioctl

This driver does its own locking, so there is no need to use
ioctl instead of unlocked_ioctl.
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Acked-by: NPali Rohár <pali.rohar@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 ab91c611
......@@ -2272,7 +2272,7 @@ static ssize_t bcm2048_fops_read(struct file *file, char __user *buf,
*/
static const struct v4l2_file_operations bcm2048_fops = {
.owner = THIS_MODULE,
.ioctl = video_ioctl2,
.unlocked_ioctl = video_ioctl2,
/* for RDS read support */
.open = bcm2048_fops_open,
.release = bcm2048_fops_release,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册