1
0
Fork 0

ASoC: mop500: 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 <luis@debethencourt.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
hifive-unleashed-5.1
Luis de Bethencourt 2015-09-03 13:00:40 +02:00 committed by Mark Brown
parent 6ff33f3902
commit cfa7a38c75
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ static const struct of_device_id snd_soc_mop500_match[] = {
{ .compatible = "stericsson,snd-soc-mop500", },
{},
};
MODULE_DEVICE_TABLE(of, snd_soc_mop500_match);
static struct platform_driver snd_soc_mop500_driver = {
.driver = {