Merge remote-tracking branch 'asoc/topic/dma' into asoc-next
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 18:26:00 +0000 (19:26 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 18:26:00 +0000 (19:26 +0100)
1  2 
include/sound/soc.h
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/imx-ssi.c
sound/soc/mxs/mxs-saif.c
sound/soc/soc-core.c
sound/soc/spear/spear_pcm.c

Simple merge
Simple merge
Simple merge
Simple merge
@@@ -3898,23 -3900,17 +3898,16 @@@ static void snd_soc_unregister_dais(str
        for (i = 0; i < count; i++)
                snd_soc_unregister_dai(dev);
  }
 -EXPORT_SYMBOL_GPL(snd_soc_unregister_dais);
  
  /**
-  * snd_soc_register_platform - Register a platform with the ASoC core
-  *
-  * @platform: platform to register
+  * snd_soc_add_platform - Add a platform to the ASoC core
+  * @dev: The parent device for the platform
+  * @platform: The platform to add
+  * @platform_driver: The driver for the platform
   */
- int snd_soc_register_platform(struct device *dev,
+ int snd_soc_add_platform(struct device *dev, struct snd_soc_platform *platform,
                const struct snd_soc_platform_driver *platform_drv)
  {
-       struct snd_soc_platform *platform;
-       dev_dbg(dev, "ASoC: platform register %s\n", dev_name(dev));
-       platform = kzalloc(sizeof(struct snd_soc_platform), GFP_KERNEL);
-       if (platform == NULL)
-               return -ENOMEM;
        /* create platform component name */
        platform->name = fmt_single_name(dev, &platform->id);
        if (platform->name == NULL) {
Simple merge