Skip to content

Commit 46d5a34

Browse files
luisbgdavem330
authored andcommitted
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]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c7d778f commit 46d5a34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/broadcom/bcmsysport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,6 +2079,7 @@ static const struct of_device_id bcm_sysport_of_match[] = {
20792079
{ .compatible = "brcm,systemport" },
20802080
{ /* sentinel */ }
20812081
};
2082+
MODULE_DEVICE_TABLE(of, bcm_sysport_of_match);
20822083

20832084
static struct platform_driver bcm_sysport_driver = {
20842085
.probe = bcm_sysport_probe,

0 commit comments

Comments
 (0)