media: gspca: make array regs_to_read static const
authorColin Ian King <colin.i.king@gmail.com>
Sun, 9 Jan 2022 20:45:57 +0000 (21:45 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:43 +0000 (21:18 +0100)
commit19bc4f40b2c5ca8f2506766560067817f6f5c37e
treeb88ca902f0c558ab8b7653512e2ddfe838af7dfc
parentef058cc8b7193d15a771272359c7454839ae74ee
media: gspca: make array regs_to_read static const

Don't populate the read-only array regs_to_read on the stack but
instead 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/jl2005bcd.c