diff mbox

[v2] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers

Message ID 1315393641-21261-1-git-send-email-mans.rullgard@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Mans Rullgard Sept. 7, 2011, 11:07 a.m. UTC
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(-)

Comments

Mark Brown Sept. 7, 2011, 5:10 p.m. UTC | #1
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>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jarkko Nikula Sept. 8, 2011, 5:50 a.m. UTC | #2
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>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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");