]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-ctrls: make array range static
authorColin Ian King <colin.i.king@gmail.com>
Sun, 9 Jan 2022 21:05:02 +0000 (22:05 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:43 +0000 (21:18 +0100)
commitd4e8b27d98829fa0ec3037ad2d92eb31835b4cc1
treed51451b19ddef7bb57a2ed1a0bfd13cc40bc9e51
parent62bf8c14174a21c5d5c26a7e8f82caf48cb222e0
media: v4l2-ctrls: make array range static

Don't populate the read-only array range on the stack but
instead it static. Also makes the object code a little smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls-core.c