linux/drivers/media/platform/s3c-camif
Colin Ian King 5914ecf4b1 media: s3c-camif: make array 'registers' static const, makes object smaller
Don't populate the array 'registers' on the stack but instead make it
static const. Makes the object code smaller by 45 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
  17364	   5000	      0	  22364	   575c	platform/s3c-camif/camif-regs.o

After:
   text	   data	    bss	    dec	    hex	filename
  17255	   5064	      0	  22319	   572f	platform/s3c-camif/camif-regs.o

(gcc version 9.2.1, amd64)

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+samsung@kernel.org>
2019-10-01 16:43:49 -03:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
camif-capture.c media: s3c-camif/s5p-g2d/s5p-jpeg: set device_caps in struct video_device 2019-07-22 14:45:40 -04:00
camif-core.c media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
camif-core.h media: media/platform: don't set description in ENUM_FMT 2019-07-22 14:43:59 -04:00
camif-regs.c media: s3c-camif: make array 'registers' static const, makes object smaller 2019-10-01 16:43:49 -03:00
camif-regs.h media: use the BIT() macro 2019-08-26 14:08:50 -03:00