]> git.baikalelectronics.ru Git - kernel.git/commit
media: vidtv: pre-initialize mux arrays
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Nov 2020 09:51:50 +0000 (10:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 07:05:23 +0000 (08:05 +0100)
commit364e21c4bff2fee6147b834fe8b1b4ad55772b1a
tree2bee7d9f5f9b1f85456d780c03aef7ede49a7bc5
parent442ab51ca22a96201923be5b2f029aabafea985c
media: vidtv: pre-initialize mux arrays

Instead of first zeroing all fields at the mux structs and
then filling, do some initialization for the const data
when they're created.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_mux.c