diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-05 17:20:49 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-09-13 16:44:49 +0300 |
commit | c57391f4157256a86c85424a16285d27ba92035c (patch) | |
tree | 784061feac251408afb9dcc42f5f5bf77eb7758d /CREDITS | |
parent | 569ce0a486fdf79606adc763086455b4534999a0 (diff) |
bcma: make arrays pwr_info_offset and sprom_sizes static const, shrinks object size
Arrays pwr_info_offset and sprom_sizes can be make static const rather
than populating them on the stack. Shrinks object size by 236 bytes.
Before:
text data bss dec hex filename
11300 1320 64 12684 318c drivers/bcma/sprom.o
After:
text data bss dec hex filename
10904 1480 64 12448 30a0 drivers/bcma/sprom.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions