mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
ASoC: dmic: declare trigger function as static
No reason why this is global, fix warnings with W=1 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
5d8d66077a
commit
902d822222
@ -44,8 +44,8 @@ struct dmic {
|
||||
int modeswitch_delay;
|
||||
};
|
||||
|
||||
int dmic_daiops_trigger(struct snd_pcm_substream *substream,
|
||||
int cmd, struct snd_soc_dai *dai)
|
||||
static int dmic_daiops_trigger(struct snd_pcm_substream *substream,
|
||||
int cmd, struct snd_soc_dai *dai)
|
||||
{
|
||||
struct snd_soc_component *component = dai->component;
|
||||
struct dmic *dmic = snd_soc_component_get_drvdata(component);
|
||||
|
Loading…
Reference in New Issue
Block a user