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

Nicolin Chen nicoleotsuka at gmail.com
Wed Apr 15 01:19:01 CEST 2015


On Tue, Apr 14, 2015 at 11:33:27AM +0200, Alexander Stein wrote:
> 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>

> ---
>  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 ec79c3d..1fe9f5d 100644
> --- a/sound/soc/fsl/fsl_sai.c
> +++ b/sound/soc/fsl/fsl_sai.c
> @@ -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,
> -- 
> 2.0.5
> 


More information about the Alsa-devel mailing list