summaryrefslogtreecommitdiff
path: root/drivers/staging/media/zoran/zr36050.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2020-09-25 20:30:43 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-01 09:57:48 +0200
commit4ea8b196a7d03742c71f35deac37283fa35cc005 (patch)
tree00314fd710efecd0259d140d219c0bda8ebc34d4 /drivers/staging/media/zoran/zr36050.c
parent30a978180ae82bdf0603adc357ad033baec1f82c (diff)
media: zoran: constify struct tvnorm
The structure tvnorm could be consified. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/zoran/zr36050.c')
-rw-r--r--drivers/staging/media/zoran/zr36050.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/zoran/zr36050.c b/drivers/staging/media/zoran/zr36050.c
index f551631c18cd..348b9f0ab74c 100644
--- a/drivers/staging/media/zoran/zr36050.c
+++ b/drivers/staging/media/zoran/zr36050.c
@@ -554,8 +554,8 @@ static int zr36050_set_mode(struct videocodec *codec, int mode)
}
/* set picture size (norm is ignored as the codec doesn't know about it) */
-static int zr36050_set_video(struct videocodec *codec, struct tvnorm *norm,
- struct vfe_settings *cap, struct vfe_polarity *pol)
+static int zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm,
+ struct vfe_settings *cap, struct vfe_polarity *pol)
{
struct zr36050 *ptr = (struct zr36050 *)codec->data;
int size;