summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/tlg2300
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-12 12:33:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-04 17:30:54 -0300
commit54dd0dde8561a935652f1b0d21e480ff8390d43f (patch)
tree6566c3f3e77cb64bea23ff82bbec5ec001350371 /drivers/media/usb/tlg2300
parent8bdfe557b8fa56cb9d9f6f036c0b2e6cb8abafb4 (diff)
[media] tlg2300: switch to unlocked_ioctl
The driver already does locking, so it is safe to switch to unlocked_ioctl. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/tlg2300')
-rw-r--r--drivers/media/usb/tlg2300/pd-radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/tlg2300/pd-radio.c b/drivers/media/usb/tlg2300/pd-radio.c
index 90dc1d1fcec..c4feffbebeb 100644
--- a/drivers/media/usb/tlg2300/pd-radio.c
+++ b/drivers/media/usb/tlg2300/pd-radio.c
@@ -156,7 +156,7 @@ static const struct v4l2_file_operations poseidon_fm_fops = {
.owner = THIS_MODULE,
.open = poseidon_fm_open,
.release = poseidon_fm_close,
- .ioctl = video_ioctl2,
+ .unlocked_ioctl = video_ioctl2,
};
static int tlg_fm_vidioc_g_tuner(struct file *file, void *priv,