]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: v4l2: av7110_v4l: constify v4l2_audio structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Mon, 14 Aug 2017 05:43:56 +0000 (01:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:05:28 +0000 (08:05 -0400)
commit8728bddf4bf591517bc1c36854ce0fcb94392fa4
treef308aae1e24accd9de6c110b1198d51fa53e0442
parent92a6882eefda0ee34b9dfc029ee2ed2e91fac277
media: v4l2: av7110_v4l: constify v4l2_audio structure

This v4l2_audio structure is only copied into other structures,
so it can be const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ttpci/av7110_v4l.c