diff options
author | Mariusz Kozlowski <mk@lab.zgora.pl> | 2011-03-26 19:20:24 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 14:30:21 +0200 |
commit | 81dfea886c73ea36439672b90626a354354dadd2 (patch) | |
tree | 71cf5da78810ccbf843e0f039d34c467d30b7cf9 | |
parent | [media] cxd2820r: switch automatically between DVB-T and DVB-T2 (diff) | |
download | linux-81dfea886c73ea36439672b90626a354354dadd2.tar.xz linux-81dfea886c73ea36439672b90626a354354dadd2.zip |
[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>
-rw-r--r-- | drivers/media/video/cpia2/cpia2_v4l.c | 2 |
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) static int cpia2_s_priority(struct file *file, void *_fh, enum v4l2_priority prio) { struct camera_data *cam = video_drvdata(file); - struct cpia2_fh *fh = fh; + struct cpia2_fh *fh = _fh; if (cam->streaming && prio != fh->prio && fh->prio == V4L2_PRIORITY_RECORD) |