[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: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Hans Verkuil 2015-02-17 05:44:05 -03:00 committed by Mauro Carvalho Chehab
parent ab91c61129
commit 2e1328dd5a
1 changed files with 1 additions and 1 deletions

View File

@ -2272,7 +2272,7 @@ static ssize_t bcm2048_fops_read(struct file *file, char __user *buf,
*/ */
static const struct v4l2_file_operations bcm2048_fops = { static const struct v4l2_file_operations bcm2048_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.ioctl = video_ioctl2, .unlocked_ioctl = video_ioctl2,
/* for RDS read support */ /* for RDS read support */
.open = bcm2048_fops_open, .open = bcm2048_fops_open,
.release = bcm2048_fops_release, .release = bcm2048_fops_release,