ppc4xx_edac: Fix module autoload for OF platform driver
PATCH 1/1 ppc4xx_edac: 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.
Signed-off-by Luis de Bethencourt <[email protected]>
--- drivers/edac/ppc4xx_edac.c | 1 + 1 file changed, 1 insertion(+)
drivers/edac/ppc4xx_edac.c +1 -0
@@ -199,6 +199,7 @@ static const struct of_device_id ppc4xx_edac_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, ppc4xx_edac_match);static struct platform_driver ppc4xx_edac_driver = { .probe = ppc4xx_edac_probe,
Signature · 1 line
2.4.6
Quoted 4 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]>
Reviewed-by Johannes Thumshirn <[email protected]>
Quoted 16 lines
--- drivers/edac/ppc4xx_edac.c | 1 + 1 file changed, 1 insertion(+)drivers/edac/ppc4xx_edac.c +1
-0@@ -199,6 +199,7 @@ static const struct of_device_id ppc4xx_edac_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, ppc4xx_edac_match);static struct platform_driver ppc4xx_edac_driver = { .probe = ppc4xx_edac_probe,
Quoted 14 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]>--- drivers/edac/ppc4xx_edac.c | 1 + 1 file changed, 1 insertion(+)drivers/edac/ppc4xx_edac.c +0
-0
drivers/edac/ppc4xx_edac.c static const struct of_device_id ppc4xx_edac_match[] = { · line 205
Quoted 7 lines
drivers/edac/ppc4xx_edac.c +1
-0@@ -199,6 +199,7 @@ static const struct of_device_id ppc4xx_edac_match[] = { }, { } }; +MODULE_DEVICE_TABLE (of, ppc4xx_edac_match);static struct platform_driver ppc4xx_edac_driver = { .probe = ppc4xx_edac_probe,
Applied, thanks.
Signature · 4 lines
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.