aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2013-03-24 10:33:59 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-24 17:07:15 -0400
commit404b8bed14097fb6fe74cc7fcf72781714ed263a (patch)
tree99586c0b2ce3509903ee6e88b1d967fccc4c9316 /drivers
parentl2tp: calling the ref() instead of deref() (diff)
downloadlinux-dev-404b8bed14097fb6fe74cc7fcf72781714ed263a.tar.xz
linux-dev-404b8bed14097fb6fe74cc7fcf72781714ed263a.zip
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: Simon Baatz <gmbnomis@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/marvell/mvmdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvmdio.c b/drivers/net/ethernet/marvell/mvmdio.c
index 3472574602b2..7b5158f654c2 100644
--- a/drivers/net/ethernet/marvell/mvmdio.c
+++ b/drivers/net/ethernet/marvell/mvmdio.c
@@ -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");