Skip to contentSkip to conversation

ASoC: fsl_sai: Add missing MODULE_DEVICE_TABLE

PATCH Nicolin Chen 1 participant 1 message Apr 14, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1429004007-603-1-git-send-email-alexander.stein@systec-electronic.com

Nicolin Chen

author Acked-by
#1 lore raw
Quoted 3 lines · Alexander Stein

This enables module auto-loading when using device tree.

Quoted 19 lines
---
 sound/soc/fsl/fsl_sai.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/fsl/fsl_sai.c +1 -0
index ec79c3d..1fe9f5d 100644
@@ -673,6 +673,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,
Signature · 1 line
2.0.5