All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips/txx9: Add missing MODULE_ALIAS definitions for txx9  platform devices
@ 2010-04-08 18:52 ` Geert Uytterhoeven
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2010-04-08 18:52 UTC (permalink / raw)
  To: Atsushi Nemoto, Ralf Baechle; +Cc: Linux MIPS Mailing List

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH] mips/txx9: Add missing MODULE_ALIAS definitions for txx9 platform devices
@ 2010-04-08 18:46 Geert Uytterhoeven
  0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2010-04-08 18:46 UTC (permalink / raw)


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

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

end of thread, other threads:[~2010-04-10 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2010-04-08 18:46 Geert Uytterhoeven

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.