media: atomisp: make array idx_map static const
authorColin Ian King <colin.i.king@gmail.com>
Sun, 9 Jan 2022 19:51:29 +0000 (20:51 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 8 Feb 2022 06:21:32 +0000 (07:21 +0100)
commit4caba767ca7b07fde3e895780d945b004d6a4275
tree76521630b86a23999ad5309ed2749154453bedcc
parent2c39a01154ea57d596470afa1d278e3be3b37f6a
media: atomisp: make array idx_map static const

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

Link: https://lore.kernel.org/linux-media/20220109195129.46118-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/isp/kernels/macc/macc1_5/ia_css_macc1_5.host.c