summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-27 17:04:01 +0200
committerMark Brown <broonie@kernel.org>2015-08-27 21:22:47 +0200
commit054bc835d27b558393541c32a209c01d89cda75a (patch)
treeb7bad441bd44d4b4863916e1ce9c0fb5909a0726
parentLinux 4.2-rc2 (diff)
downloadlinux-054bc835d27b558393541c32a209c01d89cda75a.tar.xz
linux-054bc835d27b558393541c32a209c01d89cda75a.zip
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 <luis@debethencourt.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/bcm/bcm2835-i2s.c2
1 files changed, 2 insertions, 0 deletions
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 = {