]> git.baikalelectronics.ru Git - kernel.git/commit
media: media/radio: make array probe_ports static const
authorColin Ian King <colin.i.king@gmail.com>
Sun, 9 Jan 2022 21:00:00 +0000 (22:00 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:43 +0000 (21:18 +0100)
commit62bf8c14174a21c5d5c26a7e8f82caf48cb222e0
tree857b8c82c1e92a576f845a8f811ff5eab2cce4f4
parent387c66830dd80c32a855b731c2dee26865fdba79
media: media/radio: make array probe_ports static const

Don't populate the read-only array probe_ports on the stack but
instead it static const. 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/radio/radio-sf16fmi.c