mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-18 19:50:40 +00:00
It is only read-from, so make it const. In order to be able to do this, constify all places where mxc_jpeg_fmt is used, in function arguments, return values and pointers. On top of that, make the name a pointer to const char. On aarch64, this shrinks object code size with 550 bytes with gcc 11.1.0, and almost 2kB with clang 12.0.0. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mxc-jpeg-hw.c | ||
| mxc-jpeg-hw.h | ||
| mxc-jpeg.c | ||
| mxc-jpeg.h | ||