linux-next: build warning after merge of the sound-asoc tree

From: Stephen Rothwell
Date: Mon Dec 11 2023 - 19:16:34 EST


Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

sound/soc/codecs/cs42l43.c:142:6: warning: no previous prototype for 'cs42l43_hp_ilimit_clear_work' [-Wmissing-prototypes]
142 | void cs42l43_hp_ilimit_clear_work(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/cs42l43.c:159:6: warning: no previous prototype for 'cs42l43_hp_ilimit_work' [-Wmissing-prototypes]
159 | void cs42l43_hp_ilimit_work(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

bbbc18d8c27c ("ASoC: cs42l43: Allow HP amp to cool off after current limit")

Maybe they should just be static?

--
Cheers,
Stephen Rothwell

Attachment: pgpc117EeSmDN.pgp
Description: OpenPGP digital signature