aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMariusz Kozlowski <mk@lab.zgora.pl>2011-03-26 14:20:24 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 08:30:21 -0400
commit81dfea886c73ea36439672b90626a354354dadd2 (patch)
tree71cf5da78810ccbf843e0f039d34c467d30b7cf9 /drivers/media
parente47b78f036bf1c30a5263ccdf1f638d1612b0586 (diff)
[media] cpia2: fix typo in variable initialisation
Currently 'fh' initialises to whatever happens to be on stack. This looks like a typo and this patch fixes that. Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cpia2/cpia2_v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cpia2/cpia2_v4l.c b/drivers/media/video/cpia2/cpia2_v4l.c
index 5111bbcefad5..0073a8c55336 100644
--- a/drivers/media/video/cpia2/cpia2_v4l.c
+++ b/drivers/media/video/cpia2/cpia2_v4l.c
@@ -1313,7 +1313,7 @@ static int cpia2_g_priority(struct file *file, void *_fh, enum v4l2_priority *p)
1313static int cpia2_s_priority(struct file *file, void *_fh, enum v4l2_priority prio) 1313static int cpia2_s_priority(struct file *file, void *_fh, enum v4l2_priority prio)
1314{ 1314{
1315 struct camera_data *cam = video_drvdata(file); 1315 struct camera_data *cam = video_drvdata(file);
1316 struct cpia2_fh *fh = fh; 1316 struct cpia2_fh *fh = _fh;
1317 1317
1318 if (cam->streaming && prio != fh->prio && 1318 if (cam->streaming && prio != fh->prio &&
1319 fh->prio == V4L2_PRIORITY_RECORD) 1319 fh->prio == V4L2_PRIORITY_RECORD)