[alsa-devel] [PATCH v2 1/1] ASoC: fsl_sai: Add missing MODULE_DEVICE_TABLE

Alexander Stein alexander.stein at systec-electronic.com
Thu Sep 3 08:04:08 CEST 2015


This enables module auto-loading when using device tree.

Signed-off-by: Alexander Stein <alexander.stein at systec-electronic.com>
Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>
---
Change in v2:
* Added "Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>"

 sound/soc/fsl/fsl_sai.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 5c73bea..ec14427 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -801,6 +801,7 @@ static const struct of_device_id fsl_sai_ids[] = {
 	{ .compatible = "fsl,imx6sx-sai", },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, fsl_sai_ids);
 
 static struct platform_driver fsl_sai_driver = {
 	.probe = fsl_sai_probe,
-- 
2.4.6



More information about the Alsa-devel mailing list