diff mbox

[v2,1/1] ASoC: fsl_sai: Add missing MODULE_DEVICE_TABLE

Message ID 1441260248-29170-1-git-send-email-alexander.stein@systec-electronic.com (mailing list archive)
State Accepted
Commit c759241fe2f16e6be43675abaa715f0da9d7a254
Headers show

Commit Message

Alexander Stein Sept. 3, 2015, 6:04 a.m. UTC
This enables module auto-loading when using device tree.

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

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

Patch

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,