diff options
| author | Colin Ian King <[email protected]> | 2019-09-06 05:11:33 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-10-01 16:43:49 -0300 |
| commit | 5914ecf4b18fcc242e81ebbae255bb32ba2f3da2 (patch) | |
| tree | 9b0c14977ef9aafcee04e5a93c904e2006eb9bd8 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | 3ff8b2c646095c621a456327bd4d7036b7cb55fa (diff) | |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions