From: Vinod Koul Date: Mon, 5 May 2014 16:49:25 +0000 (+0530) Subject: ASoC: Intel: move component registration blob X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2b4c78df056a7231635cf629380486a074daf56b;p=openwrt%2Fstaging%2Fblogic.git ASoC: Intel: move component registration blob to the place near it is used Signed-off-by: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/sst-mfld-platform.c b/sound/soc/intel/sst-mfld-platform.c index 840306c2ef14..0f707b531673 100644 --- a/sound/soc/intel/sst-mfld-platform.c +++ b/sound/soc/intel/sst-mfld-platform.c @@ -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;