From patchwork Tue Jan 4 11:29:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: m7aalton X-Patchwork-Id: 5442 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Tue, 04 Jan 2011 11:58:17 -0200 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from ) id 1Pa7Oy-0004VQ-Ti for mchehab@gaivota; Tue, 04 Jan 2011 11:58:17 -0200 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for (single-drop); Tue, 04 Jan 2011 11:58:16 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Pa55p-0003NZ-0v; Tue, 04 Jan 2011 11:30:21 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751002Ab1ADLaS (ORCPT + 1 other); Tue, 4 Jan 2011 06:30:18 -0500 Received: from smtp.nokia.com ([147.243.1.47]:22866 "EHLO mgw-sa01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803Ab1ADLaS (ORCPT ); Tue, 4 Jan 2011 06:30:18 -0500 Received: from nokia.com (localhost [127.0.0.1]) by mgw-sa01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p04BU42D015066; Tue, 4 Jan 2011 13:30:04 +0200 Received: from localhost.localdomain ([masi.nmp.nokia.com [172.22.211.19]]) by mgw-sa01.nokia.com with RELAY id p04BTcTd014226 ; Tue, 4 Jan 2011 13:29:39 +0200 From: "Matti J. Aaltonen" To: linux-media@vger.kernel.org, mchehab@redhat.com, hverkuil@xs4all.nl Cc: "Matti J. Aaltonen" Subject: [PATCH] V4L2: WL1273 FM Radio: Replace ioctl with unlocked_ioctl. Date: Tue, 4 Jan 2011 13:29:37 +0200 Message-Id: <1294140577-15872-1-git-send-email-matti.j.aaltonen@nokia.com> X-Mailer: git-send-email 1.6.1.3 X-Nokia-AV: Clean Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab Use unlocked_ioctl in v4l2_file_operations. The locking is already in place. Signed-off-by: Matti J. Aaltonen --- drivers/media/radio/radio-wl1273.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 1813790..d6c2099 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -1408,7 +1408,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, };