From: Luis de Bethencourt Date: Thu, 27 Aug 2015 15:04:01 +0000 (+0200) Subject: ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers X-Git-Tag: firefly_0821_release~176^2~1082^2~13^2~18^3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=054bc835d27b558393541c32a209c01d89cda75a;p=firefly-linux-kernel-4.4.55.git ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers These platform drivers have 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/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c index 03fa1cbf8ec1..8c435beb263d 100644 --- a/sound/soc/bcm/bcm2835-i2s.c +++ b/sound/soc/bcm/bcm2835-i2s.c @@ -862,6 +862,8 @@ static const struct of_device_id bcm2835_i2s_of_match[] = { {}, }; +MODULE_DEVICE_TABLE(of, bcm2835_i2s_of_match); + static struct platform_driver bcm2835_i2s_driver = { .probe = bcm2835_i2s_probe, .driver = {