OpenCloudOS-Kernel/drivers/media/i2c/soc_camera
Colin Ian King 3ff692fad3 media: ov9640: make const arrays res_x/y static const, reduces object code size
Don't populate the arrays res_x and resy_y on the stack, instead make them
static const.  Makes the object code smaller by over 160 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
  10509	   2800	     64	  13373	   343d	ov9640.o

After:
   text	   data	    bss	    dec	    hex	filename
  10184	   2960	     64	  13208	   3398	ov9640.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-23 08:30:10 -04:00
..
Kconfig media: ov6650: convert to standalone v4l2 subdevice 2017-07-18 12:14:31 -03:00
Makefile media: ov6650: convert to standalone v4l2 subdevice 2017-07-18 12:14:31 -03:00
imx074.c [media] imx074: avoid calling imx074_find_datafmt() twice 2017-04-14 22:28:34 -03:00
mt9m001.c [media] mt9m001: avoid calling mt9m001_find_datafmt() twice 2017-04-14 22:29:13 -03:00
mt9t031.c media: i2c: make device_type const 2017-08-26 08:40:42 -04:00
mt9t112.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00
mt9v022.c [media] mt9v022: avoid calling mt9v022_find_datafmt() twice 2017-04-14 22:29:57 -03:00
ov772x.c [media] media: i2c: ov772x: Force use of SCCB protocol 2017-06-23 08:28:05 -03:00
ov5642.c [media] ov5642: avoid calling ov5642_find_datafmt() twice 2017-04-14 22:30:21 -03:00
ov9640.c media: ov9640: make const arrays res_x/y static const, reduces object code size 2017-09-23 08:30:10 -04:00
ov9640.h [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk 2013-06-21 16:32:36 -03:00
ov9740.c [media] ov9740: avoid calling ov9740_res_roundup() twice 2017-04-14 22:32:26 -03:00
rj54n1cb0c.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00
tw9910.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00