net: systemport: Fix module autoload for OF platform driver
Subsystems (3)
PATCH 2/6 net: systemport: 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/net/ethernet/broadcom/bcmsysport.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/broadcom/bcmsysport.c +1 -0
@@ -2079,6 +2079,7 @@ static const struct of_device_id bcm_sysport_of_match[] = { { .compatible = "brcm,systemport" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm_sysport_of_match);static struct platform_driver bcm_sysport_driver = { .probe = bcm_sysport_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]>
Acked-by Florian Fainelli <[email protected]>
Quoted 17 lines
--- drivers/net/ethernet/broadcom/bcmsysport.c | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/broadcom/bcmsysport.c +1
-0@@ -2079,6 +2079,7 @@ static const struct of_device_id bcm_sysport_of_match[] = { { .compatible = "brcm,systemport" }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, bcm_sysport_of_match);static struct platform_driver bcm_sysport_driver = { .probe = bcm_sysport_probe,
Signature · 1 line
Florian