Re: [PATCH 2/5] radio-bcm2048: use unlocked_ioctl instead of ioctl

2015-02-03 Thread Pali Rohár
On Tuesday 03 February 2015 13:47:23 Hans Verkuil wrote:
> From: Hans Verkuil 
> 
> This driver does its own locking, so there is no need to use
> ioctl instead of unlocked_ioctl.
> 
> Signed-off-by: Hans Verkuil 

Looks good,
Acked-by: Pali Rohár 

-- 
Pali Rohár
pali.ro...@gmail.com


signature.asc
Description: This is a digitally signed message part.


[PATCH 2/5] radio-bcm2048: use unlocked_ioctl instead of ioctl

2015-02-03 Thread Hans Verkuil
From: Hans Verkuil 

This driver does its own locking, so there is no need to use
ioctl instead of unlocked_ioctl.

Signed-off-by: Hans Verkuil 
---
 drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c 
b/drivers/staging/media/bcm2048/radio-bcm2048.c
index 5382506..512fa26 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -2274,7 +2274,7 @@ done:
  */
 static const struct v4l2_file_operations bcm2048_fops = {
.owner  = THIS_MODULE,
-   .ioctl  = video_ioctl2,
+   .unlocked_ioctl = video_ioctl2,
/* for RDS read support */
.open   = bcm2048_fops_open,
.release= bcm2048_fops_release,
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html