projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0195a
)
ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 27 Aug 2015 15:04:01 +0000
(17:04 +0200)
committer
Mark Brown
<broonie@kernel.org>
Thu, 27 Aug 2015 19:22:47 +0000
(20:22 +0100)
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>
sound/soc/bcm/bcm2835-i2s.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/bcm/bcm2835-i2s.c
b/sound/soc/bcm/bcm2835-i2s.c
index 03fa1cbf8ec1d2f1df3c3a68e63c77421c04f802..8c435beb263dfc02df2ee714b1abf43a6cbe6bad 100644
(file)
--- 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 = {