media: gspca: make the read-only array table static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Mar 2022 22:42:47 +0000 (23:42 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:17 +0000 (11:02 +0200)
commit969be493f5065c78cb0fae8f9413a9f1a291aaae
treef9a6fc907fb08beadb70c69fcfde81a823857e0c
parentbebe10b9be3c6d7cf28fac29d108fd97eaddecf4
media: gspca: make the read-only array table static const

Don't populate the read-only array table on the stack but
instead make 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/usb/gspca/spca561.c