]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: make array idx_map static const
authorColin Ian King <colin.i.king@googlemail.com>
Mon, 29 Nov 2021 23:06:26 +0000 (00:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 7 Dec 2021 10:29:56 +0000 (11:29 +0100)
commit92b769d47260e94d9d0f69b5838a9138c13441a9
tree6d6723fb61a39bcaa77aa544c0cd93b37a09f1b9
parent0218f6eb47a4af6eafb81846ad9cf72e8d4ebcdd
media: atomisp: make array idx_map static const

Don't populate the array idx_map on the stack but instead make it
static const. Also makes the object code smaller by 16 bytes.

Link: https://lore.kernel.org/linux-media/20211129230626.549090-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css_params.c