diff options
author | Mika Westerberg <mika.westerberg@iki.fi> | 2010-10-13 10:30:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-13 11:35:30 +0200 |
commit | 0afe6b901e432bfd93eca9aefdd2ec537b27d1d3 (patch) | |
tree | 6f6c86241a2008b745349ddbeacc99327de4deed /sound/soc/codecs/ac97.c | |
parent | ASoC: don't register AC97 devices twice (diff) | |
download | linux-0afe6b901e432bfd93eca9aefdd2ec537b27d1d3.tar.xz 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/codecs/ac97.c')
-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"); |