From 5ed06e489d20dca141047bdb025d885306ea66da Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Tue, 12 Dec 2023 10:41:49 +0000 Subject: ASoC: cs42l43: Add missing statics for hp_ilimit functions Fixes: bbbc18d8c27c ("ASoC: cs42l43: Allow HP amp to cool off after current limit") Reported-by: Stephen Rothwell Signed-off-by: Charles Keepax Link: https://msgid.link/r/20231212104149.2388753-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown --- sound/soc/codecs/cs42l43.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/soc/codecs') diff --git a/sound/soc/codecs/cs42l43.c b/sound/soc/codecs/cs42l43.c index d2412dab3599..6a64681767de 100644 --- a/sound/soc/codecs/cs42l43.c +++ b/sound/soc/codecs/cs42l43.c @@ -139,7 +139,7 @@ CS42L43_IRQ_ERROR(spkl_therm_warm) CS42L43_IRQ_ERROR(spkr_sc_detect) CS42L43_IRQ_ERROR(spkl_sc_detect) -void cs42l43_hp_ilimit_clear_work(struct work_struct *work) +static void cs42l43_hp_ilimit_clear_work(struct work_struct *work) { struct cs42l43_codec *priv = container_of(work, struct cs42l43_codec, hp_ilimit_clear_work.work); @@ -156,7 +156,7 @@ void cs42l43_hp_ilimit_clear_work(struct work_struct *work) snd_soc_dapm_mutex_unlock(dapm); } -void cs42l43_hp_ilimit_work(struct work_struct *work) +static void cs42l43_hp_ilimit_work(struct work_struct *work) { struct cs42l43_codec *priv = container_of(work, struct cs42l43_codec, hp_ilimit_work); -- cgit v1.2.3