diff options
author | 2020-10-20 16:46:55 +0200 | |
---|---|---|
committer | 2020-11-16 10:31:10 +0100 | |
commit | 57a975565c970d6dd84bc73712857decb5cae8eb (patch) | |
tree | cb7ce3c63567fbc24e029661733ac746d6f108ec /include/media | |
parent | media: MAINTAINERS: camss: Add Robert Foss as co-maintainer (diff) | |
download | linux-57a975565c970d6dd84bc73712857decb5cae8eb.tar.gz linux-57a975565c970d6dd84bc73712857decb5cae8eb.tar.bz2 linux-57a975565c970d6dd84bc73712857decb5cae8eb.zip |
media: staging: rkisp1: rsz: make const array static, makes object smaller
Don't populate the const array dev_names on the stack but instead it
static. Makes the object code smaller by 15 bytes.
Before:
text data bss dec hex filename
17091 2648 64 19803 4d5b media/rkisp1/rkisp1-resizer.o
After:
text data bss dec hex filename
17012 2712 64 19788 4d4c media/rkisp1/rkisp1-resizer.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions