OSDN Git Service

media: isif: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:23 +0000 (08:43 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 14:23:24 +0000 (15:23 +0100)
commit43c85616f642fdb6af33f3b7bcbb6e14bcfd74ee
treedd2382b3457bf16873f392bd3568cf7f395b54c9
parente4183df77fe38b69ee0d05230d9157e13987e3c5
media: isif: constify copied structure

The isif_config_defaults structure is only copied into another
structure, so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/davinci/isif.c