OSDN Git Service

media: rkisp1: make a few const arrays static
authorColin Ian King <colin.i.king@gmail.com>
Thu, 5 Jan 2023 18:44:03 +0000 (19:44 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 06:29:23 +0000 (07:29 +0100)
commit4ee8191c7c9f2dc62bd007dd4ac79b7799785c36
treeb02f177fa58b4177a663b981e37f02f3db0e0175
parent3ef5750989a2b028ce84a0feadd819202de2a66e
media: rkisp1: make a few const arrays static

Don't populate the const arrays on the stack, instead make them
static. Also makes the object code 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/platform/rockchip/rkisp1/rkisp1-capture.c