OSDN Git Service

media: mxl5005s: Make array RegAddr static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 5 Oct 2022 16:06:03 +0000 (17:06 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 24 Oct 2022 17:03:53 +0000 (19:03 +0200)
commite20f3906885232115acc5cc681915085d4dfcc8f
tree0dde6f3a47b8e40a779a8d78a2c3c32effbabef1
parent3257a7673b564554b5b70e286bb8b61c6c04a446
media: mxl5005s: Make array RegAddr static const

Don't populate the read-only array RegAddr 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>
drivers/media/tuners/mxl5005s.c