ALSA: sparc: amd7930: Fix module autoload for OF platform driver
PATCH 1/1 ALSA: sparc: amd7930: 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.
---
Hello,
This patch adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly.
A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519
Thanks,
Luis
sound/sparc/amd7930.c | 1 + 1 file changed, 1 insertion(+)
sound/sparc/amd7930.c +1 -0
@@ -1064,6 +1064,7 @@ static const struct of_device_id amd7930_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, amd7930_match);static struct platform_driver amd7930_sbus_driver = { .driver = {
Signature · 1 line
2.4.6
Takashi Iwai
AppliedQuoted 5 lines · Luis de Bethencourt
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 <[email protected]>
Applied, thanks.
Takashi
Quoted 33 lines
---
Hello,
This patch adds the missing
MODULE_DEVICE_TABLE()for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly.A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519Thanks,
Luissound/sparc/amd7930.c | 1 + 1 file changed, 1 insertion(+)sound/sparc/amd7930.c +1
-0@@ -1064,6 +1064,7 @@ static const struct of_device_id amd7930_match[] = { }, {}, }; +MODULE_DEVICE_TABLE (of, amd7930_match);static struct platform_driver amd7930_sbus_driver = { .driver = {Signature · 1 line
2.4.6