aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-21 23:30:07 +0100
committerWolfram Sang <[email protected]>2017-10-17 23:49:56 +0200
commit4ce8e88f6c25469b83a7d56914995fe892d1f9a8 (patch)
tree9ff570f9fe610eb366501dd938bbab100bdfc5b8 /lib/test_overflow.c
parent15e9833e22cc6e2f882639662b90eef02ef7583e (diff)
i2c: designware: make const array supported_speeds static to shink object code size
Don't populate const array supported_speeds on the stack, instead make it static. Makes the object code smaller by 150 bytes: Before: text data bss dec hex filename 8474 1440 0 9914 26ba i2c-designware-platdrv.o After: text data bss dec hex filename 8324 1440 0 9764 2624 i2c-designware-platdrv.o (gcc version 7.2.0 x86_64) Signed-off-by: Colin Ian King <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions