ASoC: Intel: move component registration blob
authorVinod Koul <vinod.koul@intel.com>
Mon, 5 May 2014 16:49:25 +0000 (22:19 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 8 May 2014 17:24:54 +0000 (18:24 +0100)
to the place near it is used

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-mfld-platform.c

index 840306c2ef14ddcb173e233337e202584d2204b8..0f707b531673cfa2ea92568022d05901fb7e285a 100644 (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 */
 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;