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
On Tue, Dec 12, 2023 at 11:16:25AM +1100, Stephen Rothwell wrote:
> 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?
>
Yeah they should be static sorry, will send a patch today.
Thanks,
Charles