diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-15 13:50:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-15 15:12:27 +0300 |
commit | ce3f9357638720f4a78f6a6e481941c37f33bceb (patch) | |
tree | 410bb0d09b2bc076a0e3944e17be37b1e7ff0f48 /sound/soc/sof/loader.c | |
parent | b2fc2c92d2fd34d93268f677e514936f50dd6b5c (diff) | |
download | linux-ce3f9357638720f4a78f6a6e481941c37f33bceb.tar.xz |
ASoC: mediatek: mt8195: make array adda_dai_list static const
Don't populate the array adda_dai_list on the stack but instead it
static const. Also makes the object code smaller by 33 bytes:
Before:
text data bss dec hex filename
28271 11640 0 39911 9be7 mt8195/mt8195-dai-adda.o
After:
text data bss dec hex filename
28142 11736 0 39878 9bc6 mt8195/mt8195-dai-adda.o
(gcc version 11.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210915105027.10805-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/loader.c')
0 files changed, 0 insertions, 0 deletions