Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8faa8c1a authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: Staticise sst_pcm_new and sst_soc_platform_drv



Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by Vinod Koul <vinod.koul@linux.intel.com>
Acked-by: default avatarLu Guanqun <guanqun.lu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 92f6d63b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -443,7 +443,7 @@ static void sst_pcm_free(struct snd_pcm *pcm)
	snd_pcm_lib_preallocate_free_for_all(pcm);
}

int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
	struct snd_soc_dai *dai = rtd->cpu_dai;
	struct snd_pcm *pcm = rtd->pcm;
@@ -463,7 +463,7 @@ int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
	}
	return retval;
}
struct snd_soc_platform_driver sst_soc_platform_drv = {
static struct snd_soc_platform_driver sst_soc_platform_drv = {
	.ops		= &sst_platform_ops,
	.pcm_new	= sst_pcm_new,
	.pcm_free	= sst_pcm_free,