]> git.baikalelectronics.ru Git - kernel.git/commit
media: cx231xx: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:29 +0000 (08:43 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 14:23:48 +0000 (15:23 +0100)
commit45d87760e6d47b2e64abeaf9deabab506e2d3d76
tree765a2b0743f7d02f9d2ed37a1c933ec4b3d7ad76
parentba094503d0bf4fc5bf7bcc592cccf57b29e1e436
media: cx231xx: constify copied structure

The hauppauge_955q_lgdt3306a_config 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/cx231xx/cx231xx-dvb.c