ASoC: ux500: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 3 Sep 2015 11:01:15 +0000 (13:01 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 14 Sep 2015 17:47:20 +0000 (18:47 +0100)
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>
sound/soc/ux500/ux500_msp_dai.c

index f5df08ded770ef9cbafd3ec88903893bc4657344..6ba8ae9ecc7a13a04624b2fe760cdad9d4425735 100644 (file)
@@ -843,6 +843,7 @@ static const struct of_device_id ux500_msp_i2s_match[] = {
        { .compatible = "stericsson,ux500-msp-i2s", },
        {},
 };
+MODULE_DEVICE_TABLE(of, ux500_msp_i2s_match);
 
 static struct platform_driver msp_i2s_driver = {
        .driver = {