diff options
author | 2010-10-13 11:30:33 +0300 | |
---|---|---|
committer | 2010-10-13 10:35:30 +0100 | |
commit | 0afe6b901e432bfd93eca9aefdd2ec537b27d1d3 (patch) | |
tree | 6f6c86241a2008b745349ddbeacc99327de4deed /sound | |
parent | ASoC: don't register AC97 devices twice (diff) | |
download | linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.gz linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.bz2 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')
-rw-r--r-- | 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 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"); |