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

Commit 404b8bed authored by Simon Baatz's avatar Simon Baatz Committed by David S. Miller
Browse files

net: mvmdio: define module alias for platform device



The mvmdio driver can be instantiated using device tree or as a classic
platform device.  In order to load the driver automatically by udev in
the latter case, the driver needs to define a module alias for the
platform device.

Signed-off-by: default avatarSimon Baatz <gmbnomis@gmail.com>
Acked-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1b7c92b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -295,3 +295,4 @@ module_platform_driver(orion_mdio_driver);
MODULE_DESCRIPTION("Marvell MDIO interface driver");
MODULE_AUTHOR("Thomas Petazzoni <thomas.petazzoni@free-electrons.com>");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:orion-mdio");