From: Luis de Bethencourt Date: Thu, 3 Sep 2015 10:57:47 +0000 (+0200) Subject: ASoC: fsl-asoc-card: Fix module autoload for OF platform driver X-Git-Tag: v4.4-rc1~92^2~3^2~100^2~4^4~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5226f2340c67225d27f61330205f16314881cc5c;p=thirdparty%2Flinux.git ASoC: fsl-asoc-card: Fix module autoload for OF platform driver This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c index 5aeb6ed4827e8..97bb4c5544cdd 100644 --- a/sound/soc/fsl/fsl-asoc-card.c +++ b/sound/soc/fsl/fsl-asoc-card.c @@ -592,6 +592,7 @@ static const struct of_device_id fsl_asoc_card_dt_ids[] = { { .compatible = "fsl,imx-audio-wm8960", }, {} }; +MODULE_DEVICE_TABLE(of, fsl_asoc_card_dt_ids); static struct platform_driver fsl_asoc_card_driver = { .probe = fsl_asoc_card_probe,