ASoC: mediatek: mt8195: make several arrays static const
authorColin Ian King <colin.i.king@googlemail.com>
Mon, 29 Nov 2021 22:42:36 +0000 (22:42 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 30 Nov 2021 13:08:13 +0000 (13:08 +0000)
commit91745b034dca6044407b559fe28dd1cf7efccc29
treeee01f8b7cbbb3d6412169a06e675ed82edaa452f
parent043c0a6278ca443b1835726239dc2814c1313a9e
ASoC: mediatek: mt8195: make several arrays static const

Don't populate various arrays on the stack but instead make them
static const. Also makes the object code smaller by a few hundred
bytes.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20211129224236.506883-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-afe-clk.c