From: Jarkko Nikula <jarkko.nikula-FVTvWyuFUl3QT0dZR+AlfA@public.gmane.org>
To: Mans Rullgard <mans.rullgard-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org
Subject: Re: [PATCH] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers
Date: Wed, 07 Sep 2011 12:29:58 +0300 [thread overview]
Message-ID: <4E673996.1090401@bitmer.com> (raw)
In-Reply-To: <1315340056-32148-1-git-send-email-mans.rullgard-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Hi
On 09/06/2011 11:14 PM, 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.
>
> Signed-off-by: Mans Rullgard<mans.rullgard-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> sound/soc/omap/omap-mcbsp.c | 2 ++
> sound/soc/omap/omap-pcm.c | 2 ++
> 2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
> index 07b7723..56b7504 100644
> --- a/sound/soc/omap/omap-mcbsp.c
> +++ b/sound/soc/omap/omap-mcbsp.c
> @@ -758,6 +758,8 @@ static int __devexit asoc_mcbsp_remove(struct platform_device *pdev)
> return 0;
> }
>
> +MODULE_ALIAS("platform:omap-mcbsp-dai");
> +
Put these at the end of file where the other MODULE_ macros are.
Send updated patch to alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org with Liam Girdwood and
Mark Brown cc'ed (see SOUND - SOC LAYER in ./MAINTAINERS).
--
Jarkko
prev parent reply other threads:[~2011-09-07 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 20:14 [PATCH] ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers Mans Rullgard
[not found] ` <1315340056-32148-1-git-send-email-mans.rullgard-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2011-09-07 9:29 ` Jarkko Nikula [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E673996.1090401@bitmer.com \
--to=jarkko.nikula-fvtvwyuful3qt0dzr+alfa@public.gmane.org \
--cc=linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mans.rullgard-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox