[alsa-devel] [PATCH 3/3] ASoC: wm8962: Add MODULE_ALIAS

Fabio Estevam festevam at gmail.com
Sat Jul 20 21:16:03 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/wm8962.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 8b8905d..a50033c 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3837,6 +3837,7 @@ static struct i2c_driver wm8962_i2c_driver = {
 
 module_i2c_driver(wm8962_i2c_driver);
 
+MODULE_ALIAS("platform:wm8962");
 MODULE_DESCRIPTION("ASoC WM8962 driver");
 MODULE_AUTHOR("Mark Brown <broonie at opensource.wolfsonmicro.com>");
 MODULE_LICENSE("GPL");
-- 
1.8.1.2



More information about the Alsa-devel mailing list