mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 10:24:01 -04:00
ASoC: cs42l43: make const array controls static
Don't populate the const array controls on the stack, instead make it static. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230915092639.31074-1-colin.i.king@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
24af0d7c0f
commit
9dc098e3d7
@@ -162,7 +162,7 @@ CS42L43_IRQ_COMPLETE(load_detect)
|
||||
static irqreturn_t cs42l43_mic_shutter(int irq, void *data)
|
||||
{
|
||||
struct cs42l43_codec *priv = data;
|
||||
const char * const controls[] = {
|
||||
static const char * const controls[] = {
|
||||
"Decimator 1 Switch",
|
||||
"Decimator 2 Switch",
|
||||
"Decimator 3 Switch",
|
||||
|
||||
Reference in New Issue
Block a user