aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-03 14:39:50 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-10-30 11:45:56 +0100
commit27d70d368021160fada401d3e2641fbd38a9d10a (patch)
treece36d6accb1e8474ce77dd5f119cf10e8539202b /drivers/mmc/core/core.c
parent2afcbdb0d88b41dace18d7dd2ace62ce4b997319 (diff)
mmc: dw_mmc: make const arrays mszs static
Don't populate the const arrays mszs on the stack, instead make them static. Makes the object code smaller by over 310 bytes: Before: text data bss dec hex filename 47527 8528 320 56375 dc37 drivers/mmc/host/dw_mmc.o After: text data bss dec hex filename 47055 8688 320 56063 daff drivers/mmc/host/dw_mmc.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
0 files changed, 0 insertions, 0 deletions