Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e1328dd authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent ab91c611
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,