浏览代码

[media] V4L2: WL1273 FM Radio: Replace ioctl with unlocked_ioctl

Use unlocked_ioctl in v4l2_file_operations. The locking is
already in place.

Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Matti Aaltonen 14 年之前
父节点
当前提交
34b8fc8e68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/radio/radio-wl1273.c

+ 1 - 1
drivers/media/radio/radio-wl1273.c

@@ -1407,7 +1407,7 @@ static const struct v4l2_file_operations wl1273_fops = {
 	.read		= wl1273_fm_fops_read,
 	.write		= wl1273_fm_fops_write,
 	.poll		= wl1273_fm_fops_poll,
-	.ioctl		= video_ioctl2,
+	.unlocked_ioctl	= video_ioctl2,
 	.open		= wl1273_fm_fops_open,
 	.release	= wl1273_fm_fops_release,
 };