]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf567219fe1b9706ab5692ad542481f775de9c591
treef9a6fc907fb08beadb70c69fcfde81a823857e0c
parentcb0cc486fae4c36a468ba93056a60976e1fcfacf
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