Commit 902d8222 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: dmic: declare trigger function as static

No reason why this is global, fix warnings with W=1
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5d8d6607
...@@ -44,8 +44,8 @@ struct dmic { ...@@ -44,8 +44,8 @@ struct dmic {
int modeswitch_delay; int modeswitch_delay;
}; };
int dmic_daiops_trigger(struct snd_pcm_substream *substream, static int dmic_daiops_trigger(struct snd_pcm_substream *substream,
int cmd, struct snd_soc_dai *dai) int cmd, struct snd_soc_dai *dai)
{ {
struct snd_soc_component *component = dai->component; struct snd_soc_component *component = dai->component;
struct dmic *dmic = snd_soc_component_get_drvdata(component); struct dmic *dmic = snd_soc_component_get_drvdata(component);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment