[alsa-devel] [PATCH 3/3] ASoC: ac97: add MODULE_ALIAS for the platform driver

Mika Westerberg mika.westerberg at iki.fi
Wed Oct 13 10:30:33 CEST 2010


So that modprobe can load the driver automatically when the platform device
appears.

Signed-off-by: Mika Westerberg <mika.westerberg at iki.fi>
---
 sound/soc/codecs/ac97.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index f5139ae..3c08793 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -162,3 +162,4 @@ module_exit(ac97_exit);
 MODULE_DESCRIPTION("Soc Generic AC97 driver");
 MODULE_AUTHOR("Liam Girdwood");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:ac97-codec");
-- 
1.5.6.5



More information about the Alsa-devel mailing list