ASoC: ac97: add MODULE_ALIAS for the platform driver
authorMika Westerberg <mika.westerberg@iki.fi>
Wed, 13 Oct 2010 08:30:33 +0000 (11:30 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Oct 2010 09:35:30 +0000 (10:35 +0100)
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>
sound/soc/codecs/ac97.c

index f5139ae51d8275b7643138c82b765c9af9adf9f5..3c087936aa57028b11b0567d5165088a4aa5aed9 100644 (file)
@@ -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");