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>
This commit is contained in:
Vinod Koul 2014-05-05 22:19:25 +05:30 committed by Mark Brown
parent 555f8a80c3
commit 2b4c78df05
1 changed files with 5 additions and 4 deletions

View File

@ -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 */ /* helper functions */
static inline void sst_set_stream_status(struct sst_runtime_stream *stream, static inline void sst_set_stream_status(struct sst_runtime_stream *stream,
int state) int state)
@ -677,6 +673,11 @@ static struct snd_soc_platform_driver sst_soc_platform_drv = {
.pcm_free = sst_pcm_free, .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) static int sst_platform_probe(struct platform_device *pdev)
{ {
int ret; int ret;