summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@iki.fi>2010-10-13 11:30:33 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-13 10:35:30 +0100
commit0afe6b901e432bfd93eca9aefdd2ec537b27d1d3 (patch)
tree6f6c86241a2008b745349ddbeacc99327de4deed /sound/soc
parent0562f7882d968463119bb63d47ef4bdaba7d6631 (diff)
downloadlinux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.bz2
ASoC: ac97: add MODULE_ALIAS for the platform driver
So that modprobe can load the driver automatically when the platform device appears. Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/ac97.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index f5139ae51d82..3c087936aa57 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");