Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8048e55 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by David S. Miller
Browse files

net: bcmgenet: 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: default avatarLuis de Bethencourt <luis@osg.samsung.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46d5a343
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3155,6 +3155,7 @@ static const struct of_device_id bcmgenet_match[] = {
	{ .compatible = "brcm,genet-v4", .data = (void *)GENET_V4 },
	{ },
};
MODULE_DEVICE_TABLE(of, bcmgenet_match);

static int bcmgenet_probe(struct platform_device *pdev)
{