summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-06 10:17:19 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-09-11 16:10:37 +0200
commit3fb2009abc87ea44f75abe1825adc15cba39ceb2 (patch)
tree8c59f2d9df7a9505e9b5ef4d537d00c41e3bb671 /drivers/memstick
parent0e62614b6c22928504cfd400b20b42b445cf35a6 (diff)
mmc: dw_mmc: hi3798cv200: make array degrees static const, makes object smaller
Don't populate the array degrees on the stack but instead make it static const. Makes the object code smaller by 46 bytes. Before: text data bss dec hex filename 5356 1560 0 6916 1b04 dw_mmc-hi3798cv200.o After: text data bss dec hex filename 5214 1656 0 6870 1ad6 dw_mmc-hi3798cv200.o (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions