Commit 2b4c78df authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown

ASoC: Intel: move component registration blob

to the place near it is used
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 555f8a80
......@@ -157,10 +157,6 @@ static struct snd_soc_dai_driver sst_platform_dai[] = {
},
};
static const struct snd_soc_component_driver sst_component = {
.name = "sst",
};
/* helper functions */
static inline void sst_set_stream_status(struct sst_runtime_stream *stream,
int state)
......@@ -677,6 +673,11 @@ static struct snd_soc_platform_driver sst_soc_platform_drv = {
.pcm_free = sst_pcm_free,
};
static const struct snd_soc_component_driver sst_component = {
.name = "sst",
};
static int sst_platform_probe(struct platform_device *pdev)
{
int ret;
......
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