From: Ralf Baechle <ralf@linux-mips.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>,
Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: [PATCH] mips/txx9: Add missing MODULE_ALIAS definitions for txx9 platform devices
Date: Sat, 10 Apr 2010 11:21:48 +0100 [thread overview]
Message-ID: <20100410102148.GA23809@linux-mips.org> (raw)
In-Reply-To: <s2y10f740e81004081152u53d1520fp812bd2defe886220@mail.gmail.com>
On Thu, Apr 08, 2010 at 08:52:00PM +0200, Geert Uytterhoeven wrote:
> Hi Nemoto-san, Ralf-san,
>
> I need the patch below to enable autoloading of the TXx9 sound driver
> on my RBTX4927.
> It works very nice as a low-power MPD player.
>
> >From 0902bacfe10db79472c7ecd35ac28f1c02f72101 Mon Sep 17 00:00:00 2001
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Date: Thu, 8 Apr 2010 20:46:28 +0200
> Subject: [PATCH] mips/txx9: Add missing MODULE_ALIAS definitions for
> txx9 platform devices
>
> This enables autoloading of the TXx9 sound driver on my RBTX4927.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> drivers/dma/txx9dmac.c | 2 ++
> sound/soc/txx9/txx9aclc-ac97.c | 1 +
> sound/soc/txx9/txx9aclc-generic.c | 1 +
> 3 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/txx9dmac.c b/drivers/dma/txx9dmac.c
> index 3ebc610..75fcf1a 100644
> --- a/drivers/dma/txx9dmac.c
> +++ b/drivers/dma/txx9dmac.c
> @@ -1359,3 +1359,5 @@ module_exit(txx9dmac_exit);
> MODULE_LICENSE("GPL");
> MODULE_DESCRIPTION("TXx9 DMA Controller driver");
> MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
> +MODULE_ALIAS("platform:txx9dmac");
> +MODULE_ALIAS("platform:txx9dmac-chan");
> diff --git a/sound/soc/txx9/txx9aclc-ac97.c b/sound/soc/txx9/txx9aclc-ac97.c
> index 612e18b..0ec20b6 100644
> --- a/sound/soc/txx9/txx9aclc-ac97.c
> +++ b/sound/soc/txx9/txx9aclc-ac97.c
> @@ -254,3 +254,4 @@ module_exit(txx9aclc_ac97_exit);
> MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
> MODULE_DESCRIPTION("TXx9 ACLC AC97 driver");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:txx9aclc-ac97");
> diff --git a/sound/soc/txx9/txx9aclc-generic.c
> b/sound/soc/txx9/txx9aclc-generic.c
> index 3175de9..95b17f7 100644
> --- a/sound/soc/txx9/txx9aclc-generic.c
> +++ b/sound/soc/txx9/txx9aclc-generic.c
> @@ -96,3 +96,4 @@ module_exit(txx9aclc_generic_exit);
> MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
> MODULE_DESCRIPTION("Generic TXx9 ACLC ALSA SoC audio driver");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:txx9aclc-generic");
Will apply.
A while ago I noticed that all of the MIPS platform device drivers
I looked at did not have MODULE_ALIAS().
Ralf
next prev parent reply other threads:[~2010-04-10 10:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 18:52 [PATCH] mips/txx9: Add missing MODULE_ALIAS definitions for txx9 platform devices Geert Uytterhoeven
2010-04-08 18:52 ` Geert Uytterhoeven
2010-04-09 14:27 ` Atsushi Nemoto
2010-04-10 10:21 ` Ralf Baechle [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-08 18:46 Geert Uytterhoeven
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=20100410102148.GA23809@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=anemo@mba.ocn.ne.jp \
--cc=geert@linux-m68k.org \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.