[alsa-devel] [PATCH 2/3] ASoC: sgtl5000: Add MODULE_ALIAS
Fabio Estevam
festevam at gmail.com
Sat Jul 20 21:16:02 CEST 2013
From: Fabio Estevam <fabio.estevam at freescale.com>
Add MODULE_ALIAS, so that auto module loading can work.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
sound/soc/codecs/sgtl5000.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index c8b9090..58b1b30 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -1608,6 +1608,7 @@ static struct i2c_driver sgtl5000_i2c_driver = {
module_i2c_driver(sgtl5000_i2c_driver);
+MODULE_ALIAS("platform:sgtl5000");
MODULE_DESCRIPTION("Freescale SGTL5000 ALSA SoC Codec Driver");
MODULE_AUTHOR("Zeng Zhaoming <zengzm.kernel at gmail.com>");
MODULE_LICENSE("GPL");
--
1.8.1.2
More information about the Alsa-devel
mailing list