diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-09-06 16:40:53 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-09-13 17:23:18 +0300 |
commit | d3bb26868105397bb23eccabe2eaae6662606629 (patch) | |
tree | c46fbbd5e99a8937b16a7323a0350f9a40e48110 /scripts/config | |
parent | 527c5d375419b17a30df7dd7e539a966104eaffd (diff) |
ssb: make array pwr_info_offset static const, makes object smaller
Don't populate the array pwr_info_offset on the stack but instead make it
static const. Makes the object code smaller by 207 bytes.
Before:
text data bss dec hex filename
26066 3000 64 29130 71ca drivers/ssb/pci.o
After:
text data bss dec hex filename
25763 3096 64 28923 70fb drivers/ssb/pci.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Michael Büsch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/config')
0 files changed, 0 insertions, 0 deletions