aboutsummaryrefslogtreecommitdiff
path: root/Documentation/media
diff options
context:
space:
mode:
authorChristophe JAILLET2019-10-11 17:48:29 -0300
committerMauro Carvalho Chehab2019-10-24 18:33:18 -0300
commit4e383575a1313fbb706b141124053caaf13eb407 (patch)
tree85f300f73cb9dd8e89a3323171f68d79b511d22a /Documentation/media
parent9b950ce05732ac103023c2a1a3b81778f4c06e2f (diff)
media: i2c: adv7842: make array cri static and const, makes object smaller
Don't populate the array 'cri' on the stack but instead make it static and const. Makes the object code smaller by 165 bytes. Turn the 2nd parameter of 'log_infoframe()' const accordingly. Before: text data bss dec hex filename 98533 20024 256 118813 1d01d drivers/media/i2c/adv7842.o After: text data bss dec hex filename 98304 20088 256 118648 1cf78 drivers/media/i2c/adv7842.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media')
0 files changed, 0 insertions, 0 deletions