summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMika Westerberg2010-10-13 10:30:33 +0200
committerMark Brown2010-10-13 11:35:30 +0200
commit0afe6b901e432bfd93eca9aefdd2ec537b27d1d3 (patch)
tree6f6c86241a2008b745349ddbeacc99327de4deed /sound/soc
parentASoC: don't register AC97 devices twice (diff)
downloadkernel-qcow2-linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.gz
kernel-qcow2-linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.xz
kernel-qcow2-linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.zip
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");