summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt819.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-08-25 10:52:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 14:46:17 -0300
commitba08831b84211e48ae4ce6272eebeade8d41cff4 (patch)
tree1e1a3a2ef7c466f70dfa06dd67e77aefedb58551 /drivers/media/video/bt819.c
parent23aefb7e0e5e8b3766545af51b88fc3eb07532ba (diff)
downloadblackbird-op-linux-ba08831b84211e48ae4ce6272eebeade8d41cff4.tar.gz
blackbird-op-linux-ba08831b84211e48ae4ce6272eebeade8d41cff4.zip
[media] vpx3220, bt819: fix compiler warnings
Same status/res mixup. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt819.c')
-rw-r--r--drivers/media/video/bt819.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c
index f87204461cb4..859eabf57978 100644
--- a/drivers/media/video/bt819.c
+++ b/drivers/media/video/bt819.c
@@ -229,7 +229,7 @@ static int bt819_status(struct v4l2_subdev *sd, u32 *pstatus, v4l2_std_id *pstd)
if (pstd)
*pstd = std;
if (pstatus)
- *pstatus = status;
+ *pstatus = res;
v4l2_dbg(1, debug, sd, "get status %x\n", status);
return 0;
OpenPOWER on IntegriCloud