Skip to content

Commit

Permalink
[media] V4L2: WL1273 FM Radio: Replace ioctl with unlocked_ioctl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matti Aaltonen authored and Mauro Carvalho Chehab committed Jan 19, 2011
1 parent a3bc5e3 commit 34b8fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/radio/radio-wl1273.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 34b8fc8

Please sign in to comment.