linux/drivers/media/platform/sti/hva
Colin Ian King 0c8be47d4a media: platform: sti: make a const arrays static, makes object smaller
Don't populate the const arrays on the stack but instead it
static. Makes the object code smaller by 8 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
  12504	   4568	      0	  17072	   42b0	media/platform/sti/hva/hva-h264.o

After:
   text	   data	    bss	    dec	    hex	filename
  12272	   4792	      0	  17064	   42a8	media/platform/sti/hva/hva-h264.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>
2021-03-11 11:59:42 +01:00
..
hva-debugfs.c media: sti: no need to check return value of debugfs_create functions 2020-09-01 14:13:26 +02:00
hva-h264.c media: platform: sti: make a const arrays static, makes object smaller 2021-03-11 11:59:42 +01:00
hva-hw.c media: sti/hva: add missing clk_disable_unprepare() 2021-01-27 08:34:09 +01:00
hva-hw.h
hva-mem.c
hva-mem.h
hva-v4l2.c media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
hva.h
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00