diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-05-05 12:49:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-08 13:24:54 -0400 |
commit | 2b4c78df056a7231635cf629380486a074daf56b (patch) | |
tree | 2700b9c18f4161e7007c32239f2b83391e51a46a /sound/soc | |
parent | 555f8a80c397b1a6ffccb294525df6ca2d721585 (diff) |
ASoC: Intel: move component registration blob
to the place near it is used
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/intel/sst-mfld-platform.c | 9 |
1 files changed, 5 insertions, 4 deletions
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[] = { | |||
157 | }, | 157 | }, |
158 | }; | 158 | }; |
159 | 159 | ||
160 | static const struct snd_soc_component_driver sst_component = { | ||
161 | .name = "sst", | ||
162 | }; | ||
163 | |||
164 | /* helper functions */ | 160 | /* helper functions */ |
165 | static inline void sst_set_stream_status(struct sst_runtime_stream *stream, | 161 | static inline void sst_set_stream_status(struct sst_runtime_stream *stream, |
166 | int state) | 162 | int state) |
@@ -677,6 +673,11 @@ static struct snd_soc_platform_driver sst_soc_platform_drv = { | |||
677 | .pcm_free = sst_pcm_free, | 673 | .pcm_free = sst_pcm_free, |
678 | }; | 674 | }; |
679 | 675 | ||
676 | static const struct snd_soc_component_driver sst_component = { | ||
677 | .name = "sst", | ||
678 | }; | ||
679 | |||
680 | |||
680 | static int sst_platform_probe(struct platform_device *pdev) | 681 | static int sst_platform_probe(struct platform_device *pdev) |
681 | { | 682 | { |
682 | int ret; | 683 | int ret; |