public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers
@ 2011-09-07 11:07 Mans Rullgard
  2011-09-07 17:10 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Mans Rullgard @ 2011-09-07 11:07 UTC (permalink / raw)
  To: linux-omap
  Cc: linaro-dev, Jarkko Nikula, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel

This adds MODULE_ALIAS directives to the omap-mcbsp-dai and
omap-pcm-audio drivers so they can be auto-loaded when platform
devices are scanned.

Signed-off-by: Mans Rullgard <mans.rullgard@linaro.org>
---
 sound/soc/omap/omap-mcbsp.c |    1 +
 sound/soc/omap/omap-pcm.c   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 07b7723..5ddfadd 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -783,3 +783,4 @@ module_exit(snd_omap_mcbsp_exit);
 MODULE_AUTHOR("Jarkko Nikula <jhnikula@gmail.com>");
 MODULE_DESCRIPTION("OMAP I2S SoC Interface");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-mcbsp-dai");
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index e6a6b99..f19ccc1 100644
--- a/sound/soc/omap/omap-pcm.c
+++ b/sound/soc/omap/omap-pcm.c
@@ -437,3 +437,4 @@ module_exit(snd_omap_pcm_exit);
 MODULE_AUTHOR("Jarkko Nikula <jhnikula@gmail.com>");
 MODULE_DESCRIPTION("OMAP PCM DMA module");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-pcm-audio");
-- 
1.7.6.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers
  2011-09-07 11:07 [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers Mans Rullgard
@ 2011-09-07 17:10 ` Mark Brown
  2011-09-08  5:50   ` [alsa-devel] " Jarkko Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2011-09-07 17:10 UTC (permalink / raw)
  To: Mans Rullgard
  Cc: linux-omap, linaro-dev, Jarkko Nikula, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel

On Wed, Sep 07, 2011 at 12:07:21PM +0100, Mans Rullgard wrote:
> This adds MODULE_ALIAS directives to the omap-mcbsp-dai and
> omap-pcm-audio drivers so they can be auto-loaded when platform
> devices are scanned.

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [alsa-devel] [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers
  2011-09-07 17:10 ` Mark Brown
@ 2011-09-08  5:50   ` Jarkko Nikula
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Nikula @ 2011-09-08  5:50 UTC (permalink / raw)
  To: Mark Brown
  Cc: Mans Rullgard, alsa-devel, linaro-dev, Takashi Iwai, linux-kernel,
	linux-omap, Liam Girdwood

On 09/07/2011 08:10 PM, Mark Brown wrote:
> On Wed, Sep 07, 2011 at 12:07:21PM +0100, Mans Rullgard wrote:
>> This adds MODULE_ALIAS directives to the omap-mcbsp-dai and
>> omap-pcm-audio drivers so they can be auto-loaded when platform
>> devices are scanned.
>
> Acked-by: Mark Brown<broonie@opensource.wolfsonmicro.com>

Now looks good.

Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-08  5:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 11:07 [PATCH v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers Mans Rullgard
2011-09-07 17:10 ` Mark Brown
2011-09-08  5:50   ` [alsa-devel] " Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox