summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 12:08:23 -0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2019-11-05 08:29:50 -0300
commitc7bc0434081f034beff22c7b2b179799285b00f2 (patch)
treede77b07c59809281fdb3d40247ce70b34e80f952 /drivers/media/platform
parent1438d3c1c35faf16c86dfa6c2a55030777cd4084 (diff)
media: imx7-mipi-csis: 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 10 bytes. Before: text data bss dec hex filename 20138 5196 128 25462 6376 staging/media/imx/imx7-mipi-csis.o After: text data bss dec hex filename 20032 5292 128 25452 636c staging/media/imx/imx7-mipi-csis.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions