diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-01-09 21:45:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-01-23 21:18:43 +0100 |
commit | 19bc4f40b2c5ca8f2506766560067817f6f5c37e (patch) | |
tree | b88ca902f0c558ab8b7653512e2ddfe838af7dfc /drivers/cpufreq/mediatek-cpufreq.c | |
parent | ef058cc8b7193d15a771272359c7454839ae74ee (diff) | |
download | linux-19bc4f40b2c5ca8f2506766560067817f6f5c37e.tar.gz |
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>
Diffstat (limited to 'drivers/cpufreq/mediatek-cpufreq.c')
0 files changed, 0 insertions, 0 deletions